web/_layouts/tag.html

26 lines
696 B
HTML
Raw Normal View History

2019-09-30 15:38:41 +03:00
---
layout: page
# The layout for Tag page
---
{% include lang.html %}
2019-09-30 15:38:41 +03:00
<div id="page-tag">
<h1 class="pl-lg-2">
2019-09-30 15:38:41 +03:00
<i class="fa fa-tag 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">
{% assign post_df = site.data.locales[lang].date_format.post.long %}
{% 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>