From dd411dd1cd28aaefb2626da25cd05739c3b0bbe9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 18 Feb 2018 04:52:15 +0300 Subject: slugify categories instead of lowercasing them --- _layouts/post.html | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 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 @@

{{ page.title }}

-

 Posted on {{ page.date | date_to_long_string }}{% if page.category %} in  {{ page.category }}{% endif %}

+

 Posted on {{ page.date | date_to_long_string }}{% if page.category %} in  {{ page.category }}{% endif %}

{{ content }}
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 %}

{{ post.title }}

-

 Posted on {{ post.date | date_to_long_string }}{% if post.category %} in  {{ post.category }}{% endif %}

+

 Posted on {{ post.date | date_to_long_string }}{% if post.category %} in  {{ post.category }}{% endif %}

{{ post.excerpt }}


{% endfor %} -- cgit v1.2.3