web/_layouts/category.html

27 lines
704 B
HTML
Raw Normal View History

2019-09-30 15:38:41 +03:00
---
layout: page
# The Category layout
---
{% include lang.html %}
2019-09-30 15:38:41 +03:00
<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">
{% 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>
<span class="text-muted small" data-ts="{{ post.date | date: '%s' }}" data-df="ll">
{{ post.date | date: '%Y-%m-%d' }}
</span>
2019-09-30 15:38:41 +03:00
</li>
{% endfor %}
</ul>
</div>