aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/categories
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 04:40:28 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 04:44:43 +0300
commit3536c1bdd393e956e2fe176d69dd7be49d0d3ef4 (patch)
treee6e36cafbabd66f213fe9e0b338c60a481fec515 /categories
parentinherit layouts from default.html (diff)
downloadjekyll-theme-3536c1bdd393e956e2fe176d69dd7be49d0d3ef4.tar.gz
jekyll-theme-3536c1bdd393e956e2fe176d69dd7be49d0d3ef4.zip
add categories.html
Diffstat (limited to '')
-rw-r--r--categories.html15
1 files changed, 15 insertions, 0 deletions
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: <span class="glyphicon glyphicon-th-list"></span>&nbsp;Categories
+---
+{% for category in site.categories %}
+ <h1><a class="category" href="{{ site.baseurl }}{{ category[0] | slugify: 'pretty' }}">{{ category[0] }}</a></h1>
+ <ul>
+ {% for post in category[1] %}
+ <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} &mdash; {{ post.title }}</a></li>
+ {% endfor %}
+ </ul>
+{% endfor %}