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,12 +1,13 @@
<section class="hero">
<p class="eyebrow">Engineering · Architecture · Operations</p>
<h1>{{ site.title | escape }}</h1>
<p>Repository-owned presentation rendered from an exact Git commit.</p>
<h1>{{ page.title }}</h1>
<p>{{ page.summary }}</p>
<div class="prose">{{ page.renderedContent | safe_content }}</div>
</section>
<section class="feed" aria-labelledby="latest">
<h2 id="latest">Latest publications</h2>
{% if content.size == 0 %}<p>No published content in this snapshot.</p>{% endif %}
{% for item in content %}
<article><p class="eyebrow">{{ item.artifactType | escape }}</p><h3><a href="{{ item.route | escape }}">{{ item.title | escape }}</a></h3><p>{{ item.summary | escape }}</p></article>
{% if collection.items.size == 0 %}<p>No published content in this snapshot.</p>{% endif %}
{% for item in collection.items %}
<article><p class="eyebrow">{{ item.contentModel }}</p><h3><a href="{{ item.route }}">{{ item.title }}</a></h3><p>{{ item.summary }}</p></article>
{% endfor %}
</section>