web/_layouts/category.html

27 lines
754 B
HTML
Raw Normal View History

2019-09-30 15:38:41 +03:00
---
layout: page
# The Category layout
2020-01-02 16:17:49 +03:00
# v2.0
# https://github.com/cotes2020/jekyll-theme-chirpy
2019-09-30 15:38:41 +03:00
# MIT Licensed
---
{% include date-format.html %}
<div id="page-category">
<h1 class="pl-lg-2">
2019-09-30 15:38:41 +03:00
<i class="far fa-folder-open fa-fw text-muted"></i>
{{ page.title }}
<span class="lead text-muted pl-2">{{ site.categories[page.category] | size }}</span>
</h1>
<ul class="post-content pl-0">
{% for post in site.categories[page.category] %}
<li class="d-flex justify-content-between pl-md-3 pr-md-3">
<a href="{{ post.url | absolute_url }}">{{ post.title }}</a>
<span class="dash flex-grow-1"></span>
<span class="text-muted small">{{ post.date | date: POST_DATE }}</span>
</li>
{% endfor %}
</ul>
</div>