aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-03-25 01:55:40 +0300
committerValentin Popov <info@valentineus.link>2019-03-25 01:56:40 +0300
commit9146edd459176293992ca2f8f040c729b6403e39 (patch)
tree7ee9b4a34e50585808f06c4ee9a3fb7737c2f0c9 /_layouts
parent5407a363bd88186fd083061f8a51555a566d17a1 (diff)
downloadpopov.link-9146edd459176293992ca2f8f040c729b6403e39.tar.xz
popov.link-9146edd459176293992ca2f8f040c729b6403e39.zip
Modify template pages from a new navbar
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html17
-rw-r--r--_layouts/page.html11
-rw-r--r--_layouts/post.html11
3 files changed, 9 insertions, 30 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 5f7d12a..0b2b632 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -4,16 +4,13 @@ layout: compress
<!DOCTYPE html>
<html class="no-js" lang="{{ site.lang | strip_newlines | strip_html | strip | slugify }}">
+ {% include head.html %}
-{% include head.html %}
-
-<body>
- {% include navbar.html %}
-
- <main class="container" role="main">
- {{ content }}
- </main>
-
-</body>
+ <body>
+ {% include navbar.html %}
+ <main class="container" role="main">
+ {{ content }}
+ </main>
+ </body>
</html>
diff --git a/_layouts/page.html b/_layouts/page.html
index d906753..42c6c1c 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -3,18 +3,9 @@ layout: default
---
<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">
{{ content }}
</section>
-
</article>
diff --git a/_layouts/post.html b/_layouts/post.html
index 9362173..9d63a38 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -3,21 +3,12 @@ layout: default
---
<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">
{{ content }}
</section>
<!-- Comments -->
{% include disqus.html %}
-
</article>