aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 01:39:54 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 02:31:58 +0300
commit3f86aa8f02ab3c13f636934f5fdb560d84339bce (patch)
treeeae46f24870172e3c5e21be38ff37f23ebe61742 /index.html
parentbump dependencies (diff)
downloadjekyll-theme-3f86aa8f02ab3c13f636934f5fdb560d84339bce.tar.gz
jekyll-theme-3f86aa8f02ab3c13f636934f5fdb560d84339bce.zip
enable post categories
Diffstat (limited to '')
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.html b/index.html
index 8008e91..c27103b 100644
--- a/index.html
+++ b/index.html
@@ -12,7 +12,7 @@ root_page: true
{% else %}
{% for post in paginator.posts %}
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
- <p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date_to_long_string }}</p>
+ <p class="text-muted"><span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ post.date | date_to_long_string }}{% if post.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a href="{{ site.baseurl }}/{{ post.category | downcase }}/">{{ post.category }}</a>{% endif %}</p>
<p>{{ post.excerpt }}</p>
<hr/>
{% endfor %}