aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 04:52:15 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 04:52:15 +0300
commitdd411dd1cd28aaefb2626da25cd05739c3b0bbe9 (patch)
tree26620813042d3e8f832a4e78034f9c19e9bb33ef /index.html
parentadd post dates to category pages (diff)
downloadjekyll-theme-dd411dd1cd28aaefb2626da25cd05739c3b0bbe9.tar.gz
jekyll-theme-dd411dd1cd28aaefb2626da25cd05739c3b0bbe9.zip
slugify categories instead of lowercasing them
Diffstat (limited to '')
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.html b/index.html
index c27103b..53f5da7 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>&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 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 | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}</p>
<p>{{ post.excerpt }}</p>
<hr/>
{% endfor %}