From e7092c203e5ce813b645e418d9e05ef34b3ca784 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Sat, 6 Feb 2021 20:28:34 +0700 Subject: Add category page --- categories.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 categories.html (limited to 'categories.html') diff --git a/categories.html b/categories.html new file mode 100644 index 0000000..4d68836 --- /dev/null +++ b/categories.html @@ -0,0 +1,24 @@ +--- +layout: page +permalink: /categories/ +title: Categories +--- + + +
+{% for category in site.categories %} +
+ {% capture category_name %}{{ category | first }}{% endcapture %} +
+

+ +

{{ category_name |capitalize }}

+ + {% for post in site.categories[category_name] %} + + {% endfor %} +
+{% endfor %} +
-- cgit 1.4.1