From 6bef2696fbede5efff17ad46152b5155814dc728 Mon Sep 17 00:00:00 2001 From: basebuilder Date: Sun, 18 Feb 2024 12:50:28 +0100 Subject: [PATCH] add tag exposing RSS feed --- themes/coopcloud.tech/layouts/partials/head.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/themes/coopcloud.tech/layouts/partials/head.html b/themes/coopcloud.tech/layouts/partials/head.html index 35052e4..0d206d3 100644 --- a/themes/coopcloud.tech/layouts/partials/head.html +++ b/themes/coopcloud.tech/layouts/partials/head.html @@ -9,6 +9,10 @@ {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} + {{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} + {{ end }} + {{ $title }}