Add repository-driven site theme
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<section class="page-intro">
|
||||
<p class="eyebrow">Writing</p>
|
||||
<h1>{{ page.title }}</h1>
|
||||
{% if page.summary %}
|
||||
<p class="lede">{{ page.summary }}</p>
|
||||
{% endif %}
|
||||
</section>
|
||||
|
||||
<section class="listing" aria-label="{{ page.title }}">
|
||||
{% for item in collection.items %}
|
||||
<article class="listing-item">
|
||||
<div>
|
||||
<p class="card-kind">{{ item.contentModel }}</p>
|
||||
<h2><a href="{{ item.route }}">{{ item.title }}</a></h2>
|
||||
<p>{{ item.summary }}</p>
|
||||
</div>
|
||||
<a class="text-link" href="{{ item.route }}" aria-label="Read {{ item.title }}">Read <span aria-hidden="true">→</span></a>
|
||||
</article>
|
||||
{% else %}
|
||||
<p class="empty-state">No articles have been published yet.</p>
|
||||
{% endfor %}
|
||||
</section>
|
||||
Reference in New Issue
Block a user