rss for every category

This commit is contained in:
Joshua Seigler 2025-07-02 02:10:05 -04:00
parent cd6347f8c2
commit 0dde8aff3d
12 changed files with 90 additions and 88 deletions

View file

@ -7,7 +7,7 @@ useTitle: true
<main>
<section data-pagefind-body>
<ul class="collection">
{%- for item in collections.webroll -%}
{%- for item in collections.links -%}
<li>
<a href="{{item.url}}">{{item.data.title}}</a>
{%- if item.data.date -%}

View file

@ -1,7 +1,5 @@
---
layout: "base.njk"
eleventyComputed:
title: "Posts tagged #{{ tag }}"
pagination:
data: collections
size: 1
@ -10,8 +8,11 @@ pagination:
- posts
- recipes
- timeline
permalink: /tags/{{ tag | slugify }}/
useTitle: true
eleventyComputed:
title: "Posts tagged #{{ tag }}"
permalink: /tags/{{ tag | slugify }}/
rssUrl: /feeds/{{ tag | slugify }}.xml
---
{%- from "components/collectionList.njk" import collectionList with context -%}
<main>