Render repository content through theme contracts

This commit is contained in:
root
2026-07-23 21:32:19 -07:00
parent 884d182c86
commit f47dafc95a
16 changed files with 579 additions and 85 deletions
@@ -1,10 +1,10 @@
<header class="section-heading">
<p class="eyebrow">Section</p>
<h1>{{ section.label | escape }}</h1>
<h1>{{ page.title }}</h1>
</header>
<section class="feed">
{% if content.size == 0 %}<p>No published items in this snapshot.</p>{% endif %}
{% for item in content %}
<article><h2><a href="{{ item.route | escape }}">{{ item.title | escape }}</a></h2><p>{{ item.summary | escape }}</p></article>
{% if collection.items.size == 0 %}<p>No published items in this snapshot.</p>{% endif %}
{% for item in collection.items %}
<article><h2><a href="{{ item.route }}">{{ item.title }}</a></h2><p>{{ item.summary }}</p></article>
{% endfor %}
</section>