Modify template pages from a new navbar

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2019-03-25 02:55:40 +04:00
parent 5407a363bd
commit 9146edd459
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
3 changed files with 9 additions and 30 deletions

View File

@ -4,16 +4,13 @@ layout: compress
<!DOCTYPE html> <!DOCTYPE html>
<html class="no-js" lang="{{ site.lang | strip_newlines | strip_html | strip | slugify }}"> <html class="no-js" lang="{{ site.lang | strip_newlines | strip_html | strip | slugify }}">
{% include head.html %}
{% include head.html %} <body>
{% include navbar.html %}
<body>
{% include navbar.html %}
<main class="container" role="main">
{{ content }}
</main>
</body>
<main class="container" role="main">
{{ content }}
</main>
</body>
</html> </html>

View File

@ -3,18 +3,9 @@ layout: default
--- ---
<article> <article>
<hr />
<!-- Header -->
<header>
<h1 aria-level="1" role="heading">
{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
<hr />
</h1>
</header>
<!-- Content -->
<section role="article"> <section role="article">
{{ content }} {{ content }}
</section> </section>
</article> </article>

View File

@ -3,21 +3,12 @@ layout: default
--- ---
<article> <article>
<hr />
<!-- Header -->
<header>
<h1 aria-level="1" role="heading">
{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
<hr />
</h1>
</header>
<!-- Content -->
<section role="article"> <section role="article">
{{ content }} {{ content }}
</section> </section>
<!-- Comments --> <!-- Comments -->
{% include disqus.html %} {% include disqus.html %}
</article> </article>