joshua.seigler.net/site/_includes/home.njk
2025-04-30 15:39:20 -04:00

19 lines
530 B
Text

---
layout: "base.njk"
---
{{ content | safe }}
{%- for name, collection in collections -%}
{%- if name not in ["all", "timeline", "pages", "books"] -%}
<h2>{{name | capitalize }}</h2>
<ul>
{%- for item in collection | reverse -%}
<li>
<a href="{{item.url}}">{{item.data.title}}</a>
{%- if item.data.date -%}
<aside>{{item.data.date | formatDate("MMMM DD, YYYY") }}</aside>
{%- endif -%}
</li>
{%- endfor -%}
</ul>
{%- endif -%}
{%- endfor -%}