From 3d9265e67afc4f2555ac3d59d17dbae4d83bfd02 Mon Sep 17 00:00:00 2001 From: Serdar Ormanlı Date: Sat, 26 Dec 2020 10:59:21 +0000 Subject: Added RSS reference to the header --- layouts/partials/head.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f4ebe64..bd2eaea 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -26,6 +26,9 @@ {{ if .Params.tags }} {{ end }} +{{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} +{{ end -}} {{ partial "opengraph.html" . }} -- cgit v1.2.3