diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 7 | ||||
-rw-r--r-- | _layouts/page.html | 12 | ||||
-rw-r--r-- | _layouts/post.html | 21 |
3 files changed, 24 insertions, 16 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 0b2b632..5da4845 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,10 +7,9 @@ layout: compress {% include head.html %} <body> - {% include navbar.html %} + {{ content }} - <main class="container" role="main"> - {{ content }} - </main> + {% include aside.html %} </body> + </html> diff --git a/_layouts/page.html b/_layouts/page.html index 42c6c1c..561017a 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,10 +2,10 @@ layout: default --- -<article> - <hr /> +<main class="container" role="main"> + <header> + <h1>{{ page.title | default: site.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape }}</h1> + </header> - <section role="article"> - {{ content }} - </section> -</article> + {{ content }} +</main> diff --git a/_layouts/post.html b/_layouts/post.html index 9d63a38..c792d23 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,13 +2,22 @@ layout: default --- -<article> - <hr /> +<article class="container" role="main"> + <header> + <h1>{{ page.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape }}</h1> - <section role="article"> - {{ content }} - </section> + <small> + Published <time datetime="{{ page.date | date_to_xmlschema }}"> + {{ page.date | date: '%Y-%m-%d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} + </time> on <a href="{{ site.url | absolute_url | uri_escape }}" target="_self"> + {{ site.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape }} + </a> | <a href="{{ page.url | absolute_url | uri_escape }}" target="_blank"> + Permalink + </a> + </small> + </header> + + {{ content }} - <!-- Comments --> {% include disqus.html %} </article> |