feat: various markup improvements for semantic

This commit is contained in:
Devin Haska 2024-02-27 22:26:49 -08:00
parent 3caeff19bc
commit f286523455
9 changed files with 81 additions and 46 deletions

View file

@ -9,7 +9,7 @@ pagination:
permalink: /tags/{{ tag | slugify }}/index.html
---
{% from "macros/posts.njk" import list %}
{% from "macros/posts.njk" import yearList %}
<h1>Tag: {{ tag }}</h1>
<p>
All posts tagged with "{{ tag }}", or go back to <a href="/tags">all tags</a>.
@ -19,9 +19,6 @@ permalink: /tags/{{ tag | slugify }}/index.html
<section class="[ flow ]">
{% for year in years %}
{% set itemsInYear = itemsByYear[year] %}
<h2>{{ year }}</h2>
<section>
{{ list(itemsInYear) }}
</section>
{{ yearList(itemsInYear, year) }}
{% endfor %}
</section>