From 3536c1bdd393e956e2fe176d69dd7be49d0d3ef4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 30 Sep 2019 04:40:28 +0300 Subject: add categories.html --- _layouts/category.html | 3 ++- categories.html | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 categories.html diff --git a/_layouts/category.html b/_layouts/category.html index fa50437..6a5f100 100644 --- a/_layouts/category.html +++ b/_layouts/category.html @@ -2,7 +2,7 @@ layout: default ---

Category: {{ page.title }}

-

This is a complete list of posts in the "{{ page.category }}" category.

+

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

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

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

diff --git a/categories.html b/categories.html new file mode 100644 index 0000000..06f14ce --- /dev/null +++ b/categories.html @@ -0,0 +1,15 @@ +--- +layout: default +title: Categories +groups: + - navbar +navbar_link:  Categories +--- +{% for category in site.categories %} +

{{ category[0] }}

+ +{% endfor %} -- cgit v1.2.3