notes/sources/site/includes/layouts/category.njk

20 lines
436 B
Text
Raw Normal View History

2022-11-04 23:25:35 -06:00
---
layout: page
pagination:
data: collections
size: 1
alias: category
filter:
- all
- blog
permalink: /categories/{{ category }}/
hide_from_sitemap: true
---
<ul class="category-{{ category }} leading-loose">
{% for post in collections[category] %}
<li><a href="{{ post.url | url }}">{{ post.data.title }}</a></li>
{% endfor %}
</ul>
<p class="text-400">Back to <a href="/categories/">all categories</a></p>