diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-05-13 05:17:58 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-05-13 05:17:58 +0200 |
commit | 622d36084a2a03b9d27c939f5a11b2f8871f4aa3 (patch) | |
tree | 1bcbaac4bac0acfd300419f0c9bee9c6ad9522b2 /_layouts | |
parent | feed: muted post excerpts (diff) | |
download | jekyll-theme-622d36084a2a03b9d27c939f5a11b2f8871f4aa3.tar.gz jekyll-theme-622d36084a2a03b9d27c939f5a11b2f8871f4aa3.zip |
posts: separate include for post header
Diffstat (limited to '')
-rw-r--r-- | _layouts/post.html | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 92fa965..12eade5 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,19 +1,5 @@ --- layout: default --- -<div class="post-header"> - <h1>{{ page.title }}</h1> - <div class="post-date"> - <p class="text-muted"> - {%- comment -%} - Collapse the Liquid whitespace here, so that no extra spaces - between <span>s are introduced. - {%- endcomment -%} - {%- if page.category -%} - <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ '/' | relative_url }}{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a> - {%- endif -%} - <span class="glyphicon glyphicon-time"></span> {{ page.date | date: '%-d %b %Y' }} - </p> - </div> -</div> +{% include jekyll-theme/posts/header.html %} {{ content }} |