From f612a9596074a2a89431f1a4494486bc4fd103ab Mon Sep 17 00:00:00 2001 From: Alexandre Neto Date: Thu, 2 Jan 2025 11:19:32 +0000 Subject: [PATCH] Add RSS link to header --- layouts/partials/header.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 20c962e..b8858e5 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -18,3 +18,7 @@ {{end}} + +{{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} +{{ end }}