web/_layouts/category.html

25 lines
710 B
HTML
Raw Normal View History

2019-09-30 15:38:41 +03:00
---
layout: page
# The Category layout
---
<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">{{ page.posts | size }}</span>
2019-09-30 15:38:41 +03:00
</h1>
<ul class="post-content pl-0">
2021-07-20 20:01:09 +03:00
{% assign post_df = site.data.locales[site.lang].date_format.post.long | default: '%b %e, %Y' %}
{% for post in page.posts %}
2019-09-30 15:38:41 +03:00
<li class="d-flex justify-content-between pl-md-3 pr-md-3">
2020-05-28 20:55:57 +03:00
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
2019-09-30 15:38:41 +03:00
<span class="dash flex-grow-1"></span>
2021-07-20 20:01:09 +03:00
<span class="text-muted small">{{ post.date | date: post_df }}</span>
2019-09-30 15:38:41 +03:00
</li>
{% endfor %}
</ul>
</div>