From c8bbc25228a7d199ca6868db7375f1661c3ef6e4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 23 Mar 2022 16:52:53 +0300 Subject: _includes: move everything to jekyll-theme/ --- _includes/categories/all.html | 21 --------------------- _includes/categories/category.html | 11 ----------- 2 files changed, 32 deletions(-) delete mode 100644 _includes/categories/all.html delete mode 100644 _includes/categories/category.html (limited to '_includes/categories') diff --git a/_includes/categories/all.html b/_includes/categories/all.html deleted file mode 100644 index 71b4bb6..0000000 --- a/_includes/categories/all.html +++ /dev/null @@ -1,21 +0,0 @@ -{% if site.posts.size == 0 %} -

Sorry, no posts have been added yet.

-{% else %} - {% for category in site.categories %} -

{{ category[0] }}

- - {% endfor %} - {% assign uncategorized = site.posts | where_exp: "post","post.categories.size == 0" %} - {% if uncategorized.size != 0 %} -

Other

- - {% endif %} -{% endif %} diff --git a/_includes/categories/category.html b/_includes/categories/category.html deleted file mode 100644 index f7b7a8c..0000000 --- a/_includes/categories/category.html +++ /dev/null @@ -1,11 +0,0 @@ -

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

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

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

-{% endif %} -- cgit v1.2.3