gil.ink/src/updates.njk

28 lines
811 B
Plaintext
Raw Normal View History

2025-05-22 03:35:14 -04:00
---
layout: single
permalink: "/note/{{ update.date | formatDateIso('yyyy-MM-dd') }}{{ update.slug }}/index.html"
pagination:
data: updates
size: 1
alias: update
title: "Note"
---
<header>
<h1>Note {{ update.date | formatDateIso('yyyy-MM-dd') }}{{ update.slug }}</h1>
<p>Posted {{ update.date | formatDateIsoRel }}</time>
</p>
</header>
<p>{{ update.content | safe }}</p>
{% if pagination.href.previous or pagination.href.next %}
<p>
{% if pagination.href.previous %}
<a href="{{ pagination.href.previous }}">&larr; prev</a>
{% endif %}
{% if pagination.href.previous and pagination.href.next %}|{% endif %}
{% if pagination.href.next %}
<a href="{{ pagination.href.next }}">next &rarr;</a>
{% endif %}
</p>
{% endif %}