Render repository content through theme contracts
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user