Adopt repository-configured chronicle theme
This commit is contained in:
@@ -1,29 +1,22 @@
|
||||
<section class="hero">
|
||||
<p class="eyebrow">Configuration-first publishing</p>
|
||||
<h1>{{ page.title }}</h1>
|
||||
{% if page.summary %}
|
||||
<p class="hero-summary">{{ page.summary }}</p>
|
||||
{% endif %}
|
||||
<div class="prose hero-copy">
|
||||
{{ page.renderedContent | safe_content }}
|
||||
<div class="wrap">
|
||||
<p class="hero-eyebrow">{{ site.presentation.home.eyebrow }}</p>
|
||||
<h1>{{ page.summary }}</h1>
|
||||
<div class="hero-copy">{{ page.renderedContent | safe_content }}</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% if collection.items.size > 0 %}
|
||||
<section class="section-block" aria-labelledby="latest-heading">
|
||||
<div class="section-heading">
|
||||
<p class="eyebrow">From the repository</p>
|
||||
<h2 id="latest-heading">Latest work</h2>
|
||||
</div>
|
||||
<div class="card-grid">
|
||||
<section class="chronicle" aria-labelledby="recent-activity">
|
||||
<div class="wrap">
|
||||
<div class="section-label"><h2 id="recent-activity">{{ site.presentation.home.activityLabel }}</h2><span>{{ site.presentation.home.orderLabel }}</span></div>
|
||||
<div class="ledger">
|
||||
{% for item in collection.items %}
|
||||
<article class="card">
|
||||
<p class="card-kind">{{ item.contentModel }}</p>
|
||||
<h3><a href="{{ item.route }}">{{ item.title }}</a></h3>
|
||||
<p>{{ item.summary }}</p>
|
||||
<a class="text-link" href="{{ item.route }}">Read more <span aria-hidden="true">→</span></a>
|
||||
<article class="entry type-{{ item.templateKey }}">
|
||||
<div class="entry-meta"><span class="tag">{{ item.contentModel }}</span><span>{{ item.published }}</span></div>
|
||||
<h3 class="entry-title"><a href="{{ item.route }}">{{ item.title }}</a></h3>
|
||||
{% if item.summary %}<p class="entry-snippet">{{ item.summary }}</p>{% endif %}
|
||||
<a class="entry-more" href="{{ item.route }}">{{ site.presentation.home.entryAction }} <span aria-hidden="true">→</span></a>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user