diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2018-02-18 04:52:15 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2018-02-18 04:52:15 +0300 |
commit | dd411dd1cd28aaefb2626da25cd05739c3b0bbe9 (patch) | |
tree | 26620813042d3e8f832a4e78034f9c19e9bb33ef /_layouts | |
parent | add post dates to category pages (diff) | |
download | blog-dd411dd1cd28aaefb2626da25cd05739c3b0bbe9.tar.gz blog-dd411dd1cd28aaefb2626da25cd05739c3b0bbe9.zip |
slugify categories instead of lowercasing them
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/post.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index b01892f..69bd4db 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 }}{% if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a href="{{ site.baseurl }}/{{ page.category | downcase }}/">{{ page.category }}</a>{% endif %}</p> + <p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ page.date | date_to_long_string }}{% if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %}</p> {{ content }} <hr/> </div> |