aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/all/index.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 14:26:03 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 14:26:03 +0300
commitbda31f3b252947ac8e1a98954a51879ddd5b08a0 (patch)
treedbe2cdd659fc542ed71225dd80bab2f6b04ea4c3 /all/index.html
parentadd <hr>s where appropriate (diff)
downloadjekyll-theme-bda31f3b252947ac8e1a98954a51879ddd5b08a0.tar.gz
jekyll-theme-bda31f3b252947ac8e1a98954a51879ddd5b08a0.zip
categories.html -> all/
Diffstat (limited to 'all/index.html')
-rw-r--r--all/index.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/all/index.html b/all/index.html
new file mode 100644
index 0000000..5e42458
--- /dev/null
+++ b/all/index.html
@@ -0,0 +1,17 @@
+---
+layout: default
+title: Categories
+groups:
+ - navbar
+navbar_link: <span class="glyphicon glyphicon-th-list"></span>&nbsp;Categories
+navbar_priority: 2
+---
+{% for category in site.categories %}
+ <h1><a class="category" href="{{ site.baseurl }}/{{ category[0] | slugify: 'pretty' }}">{{ category[0] }}</a></h1>
+ <hr>
+ <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 %}