continue building out request infrastructure
This commit is contained in:
@ -1,13 +1,11 @@
|
||||
{% set tag = "offers" %}
|
||||
|
||||
<div id="listings">
|
||||
<div class="listings">
|
||||
{% 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(tag) %}
|
||||
{% set listings = collections[tag] | filterByDate(day) | filterByTag(category) %}
|
||||
{% if listings | length == 0 %}
|
||||
<p>No listings.</p>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user