diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2018-02-18 04:48:46 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2018-02-18 04:48:46 +0300 |
commit | 9e4dcb0c9a714efa73578832f35829c3e0c598ed (patch) | |
tree | 66992eaf74bf0fc6d1201d6358561bf9cb60891a | |
parent | peculiar: move to _posts/ (diff) | |
download | blog-9e4dcb0c9a714efa73578832f35829c3e0c598ed.tar.gz blog-9e4dcb0c9a714efa73578832f35829c3e0c598ed.zip |
add post dates to category pages
-rw-r--r-- | _layouts/category.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/category.html b/_layouts/category.html index dbb7825..b58f691 100644 --- a/_layouts/category.html +++ b/_layouts/category.html @@ -1,12 +1,12 @@ {% include common/header.html %} <div class="row"> <div class="col-md-8"> - <h1>{{ page.title }}</h1> + <h1>Category: {{ page.title }}</h1> <p>This is a complete list of posts in the "{{ page.category }}" category.</p> {% if site.categories[page.category].size > 0 %} <ul> {% for post in site.categories[page.category] %} - <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li> + <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} — {{ post.title }}</a></li> {% endfor %} </ul> {% else %} |