From 909b73b33fc325b82dfbe20cff2ac45a53e4fdc8 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 9 Apr 2021 00:52:04 +0300 Subject: category.html should be an include, not a layout This is similar to posts.html. --- _includes/categories/category.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 _includes/categories/category.html (limited to '_includes/categories') diff --git a/_includes/categories/category.html b/_includes/categories/category.html new file mode 100644 index 0000000..78d5aa0 --- /dev/null +++ b/_includes/categories/category.html @@ -0,0 +1,9 @@ +

This is a list of posts in category "{{ include.category }}".

+{% if site.categories[include.category].size > 0 %} + +{% endif %} +

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

-- cgit v1.2.3