Adopt repository-configured chronicle theme
This commit is contained in:
@@ -1,27 +1,4 @@
|
||||
<section class="page-intro">
|
||||
<p class="eyebrow">Projects</p>
|
||||
<h1>{{ page.title }}</h1>
|
||||
{% if page.summary %}
|
||||
<p class="lede">{{ page.summary }}</p>
|
||||
{% endif %}
|
||||
</section>
|
||||
|
||||
<section class="card-grid" aria-label="{{ page.title }}">
|
||||
{% for item in collection.items %}
|
||||
<article class="card project-card">
|
||||
<p class="card-kind">{{ item.contentModel }}</p>
|
||||
<h2><a href="{{ item.route }}">{{ item.title }}</a></h2>
|
||||
<p>{{ item.summary }}</p>
|
||||
{% if item.tags.size > 0 %}
|
||||
<ul class="tag-list" aria-label="Technologies and topics">
|
||||
{% for tag in item.tags %}
|
||||
<li>{{ tag }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
<a class="text-link" href="{{ item.route }}">View project <span aria-hidden="true">→</span></a>
|
||||
</article>
|
||||
{% else %}
|
||||
<p class="empty-state">No projects have been published yet.</p>
|
||||
{% endfor %}
|
||||
</section>
|
||||
<section class="hero page-hero"><div class="wrap"><p class="hero-eyebrow">{{ site.presentation.projects.eyebrow }}</p><h1>{{ page.title }}</h1><p class="hero-copy">{{ site.presentation.projects.intro }}</p></div></section>
|
||||
<section class="chronicle" aria-label="{{ page.title }}"><div class="wrap"><div class="section-label"><span>{{ site.presentation.projects.listLabel }}</span><span>{{ site.presentation.projects.orderLabel }}</span></div><div class="ledger">
|
||||
{% for item in collection.items %}<article class="entry type-{{ item.templateKey }} project-entry"><div class="entry-meta"><span class="tag">{{ item.contentModel }}</span><span>{{ item.published }}</span></div><h2 class="entry-title"><a href="{{ item.route }}">{{ item.title }}</a></h2>{% if item.summary %}<p class="entry-snippet">{{ item.summary }}</p>{% endif %}{% if item.tags.size > 0 %}<ul class="tag-list" aria-label="Technologies and topics">{% for tag in item.tags %}<li>{{ tag }}</li>{% endfor %}</ul>{% endif %}<a class="entry-more" href="{{ item.route }}">{{ site.presentation.projects.entryAction }} <span aria-hidden="true">→</span></a></article>{% else %}<p class="empty-state">{{ site.presentation.projects.emptyState }}</p>{% endfor %}
|
||||
</div></div></section>
|
||||
|
||||
Reference in New Issue
Block a user