From 5c1de702ad86e80778ff8eef51afca7dc261c8ae Mon Sep 17 00:00:00 2001 From: Alexandre Neto Date: Tue, 14 Jan 2025 00:01:42 +0000 Subject: [PATCH] Add RSS link to header (#1019) Co-authored-by: Emruz Hossain --- 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 }}