diff options
author | Valentin Popov <info@valentineus.link> | 2018-04-22 23:53:50 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-04-22 23:53:50 +0300 |
commit | 48b51b68764273ed97e24e7f8a92dde844eda30e (patch) | |
tree | d17f415940dd4fc956b9898869f2eaca38aef8ed /_layouts | |
parent | e292dce707c80cd4ae4cdde7cb891174c80f2c92 (diff) | |
download | popov.link-48b51b68764273ed97e24e7f8a92dde844eda30e.tar.xz popov.link-48b51b68764273ed97e24e7f8a92dde844eda30e.zip |
Improved post layer
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/post.html | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 5c0c948..81d3b46 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -3,22 +3,14 @@ layout: default --- <div class="content"> - {% include navbar.html %} - <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> + <small><time datetime="{{ page.date | date_to_xmlschema}}">{{ page.date | date_to_long_string }}</time></small> + <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | capitalize }}</h1> </header> {{ content }} - </article> - <div class="comments"> {% include disqus.html %} - </div> + </article> </div> |