mirror-crappy-reverie/_pages/categories.md

24 lines
708 B
Markdown
Raw Normal View History

2019-02-12 19:04:04 +00:00
---
layout: page
permalink: /categories/
title: Categories
---
<div id="archives">
{% for category in site.categories %}
<div class="archive-group">
{% capture category_name %}{{ category | first }}{% endcapture %}
<div id="#{{ category_name | slugize }}"></div>
<p></p>
<h3 class="category-head">{{ category_name }}</h3>
<a name="{{ category_name | slugize }}"></a>
{% for post in site.categories[category_name] %}
<article class="archive-item">
2019-08-08 06:51:01 +00:00
<h4><a href="{{ site.baseurl }}{{ post.url }}">{% if post.title and post.title != "" %}{{post.title}}{% else %}{{post.excerpt |strip_html}}{%endif%}</a></h4>
2019-02-12 19:04:04 +00:00
</article>
{% endfor %}
</div>
{% endfor %}
</div>