diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 17 | ||||
-rw-r--r-- | _layouts/page.html | 11 | ||||
-rw-r--r-- | _layouts/post.html | 11 |
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> |