diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-09 22:52:32 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-09 22:52:32 +0300 |
commit | e43991ee15f4166f0e88938d050b28e3d1d05afa (patch) | |
tree | 2a46252986bea74a89753b6f036c72f0f04ad3ae /_layouts/post.html | |
parent | navbar: describe the workarounds (diff) | |
download | jekyll-theme-e43991ee15f4166f0e88938d050b28e3d1d05afa.tar.gz jekyll-theme-e43991ee15f4166f0e88938d050b28e3d1d05afa.zip |
categories: adjust links, optional archive link
Diffstat (limited to '')
-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 1af112a..6c4737d 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,7 +4,7 @@ layout: default <h1>{{ page.title }}</h1> <p class="text-muted"> <span class="glyphicon glyphicon-time"></span> Posted on {{ page.date | date: '%-d %B %Y' }} - {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ '/categories/' | relative_url }}{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %} + {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ '/' | relative_url }}{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %} </p> {{ content }} <hr/> |