layout | title |
---|---|
default |
Categories |
{% for category in site.categories %}
{% capture category_name %}{{ category | first }}{% endcapture %}
{% endfor %}
<p></p>
<h4 class="category-head">{{ category_name }}</h4>
{% for post in site.categories[category_name] %}
<article class="archive-item">
<span class="date">{{ post.date | date: "%Y-%m-%d" }}</span>
<a style="text-decoration:none" href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a>
</article>
{% endfor %}