aa23becd14
Code improvement
25 lines
No EOL
738 B
HTML
25 lines
No EOL
738 B
HTML
---
|
|
layout: page
|
|
# The layout for Tag page
|
|
# v2.0
|
|
# https://github.com/cotes2020/jekyll-theme-chirpy
|
|
# © 2017-2019 Cotes Chung
|
|
# MIT Licensed
|
|
---
|
|
|
|
<div id="page-tag">
|
|
<h1 class="pl-lg-2">
|
|
<i class="fa fa-tag fa-fw text-muted"></i>
|
|
{{ page.title }}
|
|
<span class="lead text-muted pl-2">{{ site.tags[page.tag] | size }}</span>
|
|
</h1>
|
|
<ul class="post-content pl-0">
|
|
{% for post in site.tags[page.tag] %}
|
|
<li class="d-flex justify-content-between pl-md-3 pr-md-3">
|
|
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
|
<span class="dash flex-grow-1"></span>
|
|
<span class="text-muted small">{{ post.date | date: site.data.date_format.post.long }}</span>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div> |