aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/posts/posts.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-09 22:52:32 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-09 22:52:32 +0300
commite43991ee15f4166f0e88938d050b28e3d1d05afa (patch)
tree2a46252986bea74a89753b6f036c72f0f04ad3ae /_includes/posts/posts.html
parentnavbar: describe the workarounds (diff)
downloadjekyll-theme-e43991ee15f4166f0e88938d050b28e3d1d05afa.tar.gz
jekyll-theme-e43991ee15f4166f0e88938d050b28e3d1d05afa.zip
categories: adjust links, optional archive link
Diffstat (limited to '_includes/posts/posts.html')
-rw-r--r--_includes/posts/posts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/posts/posts.html b/_includes/posts/posts.html
index 724edc6..39dd858 100644
--- a/_includes/posts/posts.html
+++ b/_includes/posts/posts.html
@@ -6,7 +6,7 @@
<h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
<p class="text-muted">
<span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ post.date | date: '%-d %B %Y' }}
- {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ '/categories/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}
+ {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ '/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}
</p>
{{ post.excerpt | markdownify }}
<hr/>