Files
fedilearns/_includes/listings.njk

18 lines
564 B
Plaintext
Raw Normal View History

<div class="listings">
2026-05-03 08:11:23 -07:00
{% for tag in collections | getKeys | removeCoreTags | sortAlphabetically %}
<div class="category">
<div class="category-title">
<h2>{{ tag }}</h2>
<p>{{ tag | getTagline }}</p>
</div>
{% set listings = collections[tag] | filterByDate(day) | filterByTag(category) %}
{% if listings | length == 0 %}
2026-05-03 08:11:23 -07:00
<p>No listings.</p>
{% endif %}
{% for listing in listings | sortAlphabeticallyByTitle %}
2026-05-04 10:15:21 -07:00
{% include "listing.njk" %}
2026-05-03 08:11:23 -07:00
{% endfor %}
</div>
{% endfor %}
</div>