aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/all
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-09 01:53:33 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-09 01:53:33 +0300
commit512feb4e54081d358ef5df0160673a02b7a58aee (patch)
tree0e0d50ba6b6af5a6f5c23a3acc533d217d27452f /all
parentbump jekyll-theme (diff)
downloadblog-512feb4e54081d358ef5df0160673a02b7a58aee.tar.gz
blog-512feb4e54081d358ef5df0160673a02b7a58aee.zip
bump jekyll-theme
Diffstat (limited to 'all')
-rw-r--r--all/index.html16
1 files changed, 2 insertions, 14 deletions
diff --git a/all/index.html b/all/index.html
index 71e24f2..98b96ba 100644
--- a/all/index.html
+++ b/all/index.html
@@ -1,21 +1,9 @@
---
title: All posts
+layout: default
groups:
- navbar
navbar_link: <span class="glyphicon glyphicon-th-list"></span>&nbsp;Posts
navbar_priority: 2
---
-{% if site.categories.size != 0 %}
- {% for category in site.categories %}
- <h1><a class="category" href="{{ site.baseurl }}/categories/{{ 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 %}
-{% else %}
- <p>Sorry, no posts have been added yet.</p>
- <hr/>
-{% endif %}
+{% include categories/categories.html %}