aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_layouts/post.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 /_layouts/post.html
parentbump dependencies (diff)
downloadblog-3f86aa8f02ab3c13f636934f5fdb560d84339bce.tar.gz
blog-3f86aa8f02ab3c13f636934f5fdb560d84339bce.zip
enable post categories
Diffstat (limited to '')
-rw-r--r--_layouts/post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index 187b951..b01892f 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -2,7 +2,7 @@
<div class="row">
<div class="col-md-8">
<h1>{{ page.title }}</h1>
- <p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ page.date | date_to_long_string }}</p>
+ <p class="text-muted"><span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ page.date | date_to_long_string }}{% if page.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a href="{{ site.baseurl }}/{{ page.category | downcase }}/">{{ page.category }}</a>{% endif %}</p>
{{ content }}
<hr/>
</div>