web/_layouts/category.html

25 lines
650 B
HTML
Raw Permalink Normal View History

2019-09-30 15:38:41 +03:00
---
layout: page
# The Category layout
---
{% include lang.html %}
<div id="page-category">
<h1 class="ps-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 ps-2">{{ page.posts | size }}</span>
2019-09-30 15:38:41 +03:00
</h1>
<ul class="content ps-0">
{% for post in page.posts %}
<li class="d-flex justify-content-between px-md-3">
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
<span class="dash flex-grow-1"></span>
{% include datetime.html date=post.date class='text-muted small text-nowrap' lang=lang %}
</li>
2019-09-30 15:38:41 +03:00
{% endfor %}
</ul>
</div>