diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-30 14:26:03 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-30 14:26:03 +0300 |
commit | bda31f3b252947ac8e1a98954a51879ddd5b08a0 (patch) | |
tree | dbe2cdd659fc542ed71225dd80bab2f6b04ea4c3 /all/index.html | |
parent | add <hr>s where appropriate (diff) | |
download | jekyll-theme-bda31f3b252947ac8e1a98954a51879ddd5b08a0.tar.gz jekyll-theme-bda31f3b252947ac8e1a98954a51879ddd5b08a0.zip |
categories.html -> all/
Diffstat (limited to 'all/index.html')
-rw-r--r-- | all/index.html | 17 |
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> 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" }} — {{ post.title }}</a></li> + {% endfor %} + </ul> +{% endfor %} |