From e43991ee15f4166f0e88938d050b28e3d1d05afa Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 9 Apr 2021 22:52:32 +0300 Subject: categories: adjust links, optional archive link --- _includes/categories/categories.html | 2 +- _includes/categories/category.html | 4 +++- _includes/posts/posts.html | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to '_includes') diff --git a/_includes/categories/categories.html b/_includes/categories/categories.html index 05ef954..960423a 100644 --- a/_includes/categories/categories.html +++ b/_includes/categories/categories.html @@ -1,6 +1,6 @@ {% if site.categories.size != 0 %} {% for category in site.categories %} -

{{ category[0] }}

+

{{ category[0] }}


{% endif %} -

For a complete list of posts grouped by category, please see this page.

+{% if include.archive_link %} +

For a complete list of posts grouped by category, please see this page.

+{% endif %} 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 @@

{{ post.title }}

 Posted on {{ post.date | date: '%-d %B %Y' }} - {%- if post.category %} in  {{ post.category }}{% endif %} + {%- if post.category %} in  {{ post.category }}{% endif %}

{{ post.excerpt | markdownify }}
-- cgit v1.2.3