add links page

This commit is contained in:
Joshua Seigler 2025-06-27 14:49:07 -04:00
parent 28078ca979
commit 9620ed2247
9 changed files with 418 additions and 1 deletions

22
site/pages/links.njk Normal file
View file

@ -0,0 +1,22 @@
---
layout: "base.njk"
title: "Links"
permalink: /links/
useTitle: true
---
<main>
<section data-pagefind-body>
<ul class="collection">
{%- for item in collections.webroll -%}
<li>
<a href="{{item.url}}">{{item.data.title}}</a>
{%- if item.data.date -%}
<aside>{{item.data.date | formatDate("MMMM DD, YYYY") }}</aside>
{%- endif -%}
<aside>Tags: {{ item.data.tags | join(", ") }}</aside>
{{item.data.description | safe}}
</li>
{%- endfor -%}
</ul>
</section>
</main>