site/_includes/categoryList.html

11 lines
355 B
HTML

<ul style="list-style-type:none;margin:0;padding:0;">
{% for post in site.posts %}
{% assign category = post.category %}
{% if category == page.title %}
<li>
<p><span style="font-family: Geist Mono">{{ post.date | date: "%Y-%m-%d" }} / </span><a href="{{ post.url }}">{{ post.title }}</a></p>
</li>
{% endif %}
{% endfor %}
</ul>
<hr>