From 2bb3574468e4e9e26429c5bdf2461777663298ac Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Wed, 18 Oct 2023 13:59:56 +0100 Subject: [PATCH] Override RSS feed for tags --- src/_includes/base.njk | 12 +++++++++--- src/blog/tag.html | 1 + 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/_includes/base.njk b/src/_includes/base.njk index 6fb4e0d..3fd357d 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -21,9 +21,15 @@ {% endif %} - - - + {% if feed %} + + + + {% else %} + + + + {% endif %} diff --git a/src/blog/tag.html b/src/blog/tag.html index 98e9df3..cff7604 100644 --- a/src/blog/tag.html +++ b/src/blog/tag.html @@ -7,6 +7,7 @@ pagination: alias: tag eleventyComputed: permalink: "/post/tag/{{ tag.slug }}/" + feed: "/post/tag/{{ tag.slug }}/feed/" ---