diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-09 01:53:33 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-09 01:53:33 +0300 |
commit | 512feb4e54081d358ef5df0160673a02b7a58aee (patch) | |
tree | 0e0d50ba6b6af5a6f5c23a3acc533d217d27452f /all/index.html | |
parent | bump jekyll-theme (diff) | |
download | blog-512feb4e54081d358ef5df0160673a02b7a58aee.tar.gz blog-512feb4e54081d358ef5df0160673a02b7a58aee.zip |
bump jekyll-theme
Diffstat (limited to 'all/index.html')
-rw-r--r-- | all/index.html | 16 |
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> 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" }} — {{ post.title }}</a></li> - {% endfor %} - </ul> - {% endfor %} -{% else %} - <p>Sorry, no posts have been added yet.</p> - <hr/> -{% endif %} +{% include categories/categories.html %} |