feat: add links page

This commit is contained in:
Cory Dransfeldt 2024-01-10 12:32:54 -08:00
parent 5e46c9a334
commit 4637629344
No known key found for this signature in database
4 changed files with 26 additions and 1 deletions

22
src/links.html Normal file
View file

@ -0,0 +1,22 @@
---
title: Links
layout: default
pagination:
data: links
size: 8
---
{% for link in links %}
<article class="h-entry">
<a class="no-underline" href="{{ link.url }}">
<h2 class="flex--centered">{{ link.title }}</h2>
</a>
<time class="dt-published" datetime="{{ link.date }}">
{{ poslinkt.date | date: "%m.%Y" }}
</time>
<blockquote class="p-summary">{{ link.summary | markdown }}</blockquote>
{%- if link.note %}
<p class="p-summary">{{ link.note | markdown }}</p>
{% endif -%}
</article>
{% endfor %}
{% include "partials/paginator.liquid" %}