Organize columns by subject tags; add /subjects/ page
All checks were successful
Deploy to S3 / deploy (push) Successful in 49s

- Drive the columns collection from the `column` tag, recovering 3 columns
  authored under Notes/ that the glob missed
- Tag the 6 columns with subject tags; add a subjects collection and a
  /subjects/ listing page (newest-first), linked from the footer
This commit is contained in:
2026-06-29 03:05:41 +00:00
parent afb33e26a6
commit c33e4ce861
11 changed files with 74 additions and 7 deletions

23
subjects.njk Normal file
View File

@@ -0,0 +1,23 @@
---
layout: base.njk
title: Subjects
permalink: /subjects/
---
<h1>Subjects</h1>
{%- for subject in collections.subjects %}
<section class="subject-group">
<h2>{{ subject }}</h2>
<ul>
{%- for post in collections[subject] | sort(true, false, "date") %}
<li>
<a href="{{ post.url }}">{{ post.data.title | inlineMarkdown | safe }}</a>
<time datetime="{{ post.date | isoDate }}">{{ post.date | readableDate }}</time>
</li>
{%- endfor %}
</ul>
</section>
{%- else %}
<p>No subjects yet.</p>
{%- endfor %}