diff options
author | Valentin Popov <valentineus@gmail.com> | 2018-04-11 04:05:18 +0300 |
---|---|---|
committer | Valentin Popov <valentineus@gmail.com> | 2018-04-11 04:05:18 +0300 |
commit | 9cd38d691eed23acffd11e990b54247c94013fac (patch) | |
tree | a84f5dc01b95e1cca3546bf361745c54201816ae /_layouts/post.html | |
parent | b7a1f089f3be78b997321d6011735d6954cb971e (diff) | |
download | popov.link-9cd38d691eed23acffd11e990b54247c94013fac.tar.xz popov.link-9cd38d691eed23acffd11e990b54247c94013fac.zip |
Post template
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 52 |
1 files changed, 20 insertions, 32 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index d8755ee..5558446 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,36 +2,24 @@ layout: default --- -<div class="post non-narrow zero-top-spacing"> - <div class="container"> - <div class="content"> - <!-- Header--> - <div class="front-matter"> - <!-- Title--> - <div class="title-container"> - <div class="page-heading"> - {{ page.title | smartify | strip_html | normalize_whitespace }} - </div> - </div> - <!-- Date --> - <div class="meta"> - <div class="date" title="{{ page.date | date_to_xmlschema }}"> - {{ page.date | date_to_string }} - </div> - <div class="reading-time"> - <!-- <div class="middot"></div> --> - <!-- Expansion --> - </div> - </div> - </div> - <!-- Content --> - <div class="markdown"> - {{ content | normalize_whitespace }} - </div> - <!-- Comments --> - <div class="disqus"> - {% include disqus.html %} - </div> +<section class="container post"> + <article> + <header> + <h1 class="title"> + {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} + </h1> + + <h2 class="date"> + <time datetime="{{ page.date | date_to_xmlschema }}"> + {{ page.date | date_to_long_string }} + </time> + </h2> + </header> + + {{ content }} + + <div class="comments"> + {% include disqus.html %} </div> - </div> -</div> + </article> +</section> |