diff options
author | Valentin Popov <info@valentineus.link> | 2018-04-18 00:14:30 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-04-18 00:14:30 +0300 |
commit | 6e44c9b432cf505fb9edaaa97f69596166e2cfe2 (patch) | |
tree | 6c722647c57bef464cd501de63bb2444d0ae989d | |
parent | e1a9f63dc93b8bccdc8fa40ef92359091460d38c (diff) | |
download | popov.link-6e44c9b432cf505fb9edaaa97f69596166e2cfe2.tar.xz popov.link-6e44c9b432cf505fb9edaaa97f69596166e2cfe2.zip |
Post template
-rw-r--r-- | _layouts/post.html | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 5558446..5c0c948 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,24 +2,23 @@ layout: default --- -<section class="container post"> - <article> - <header> - <h1 class="title"> - {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} - </h1> +<div class="content"> + {% include navbar.html %} - <h2 class="date"> - <time datetime="{{ page.date | date_to_xmlschema }}"> - {{ page.date | date_to_long_string }} - </time> - </h2> - </header> + <article> + <header class="header"> + <h1 class="header-title"> + {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} + </h1> + <p class="header-annotation"> + <time datetime="{{ page.date | date_to_xmlschema}}">{{ page.date | date_to_long_string }}</time> + </p> + </header> - {{ content }} + {{ content }} + </article> - <div class="comments"> - {% include disqus.html %} - </div> - </article> -</section> + <div class="comments"> + {% include disqus.html %} + </div> +</div> |