2026-05-06 08:28:07 -07:00
|
|
|
{% set tag = "offers" %}
|
|
|
|
|
|
2026-05-03 08:11:23 -07:00
|
|
|
<div id="listings">
|
|
|
|
|
{% for tag in collections | getKeys | removeCoreTags | sortAlphabetically %}
|
|
|
|
|
<div class="category">
|
|
|
|
|
<div class="category-title">
|
|
|
|
|
<h2>{{ tag }}</h2>
|
|
|
|
|
<p>{{ tag | getTagline }}</p>
|
|
|
|
|
</div>
|
2026-05-06 08:28:07 -07:00
|
|
|
{% set listings = collections[tag] | filterByDate(day) | filterByTag(tag) %}
|
|
|
|
|
{% if listings | length == 0 %}
|
2026-05-03 08:11:23 -07:00
|
|
|
<p>No listings.</p>
|
|
|
|
|
{% endif %}
|
2026-05-06 08:28:07 -07:00
|
|
|
{% 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>
|