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(+)

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 }}
 <meta name="keywords" content="{{ delimit .Params.tags ", " }}" />
 {{ end }}
+{{ with .OutputFormats.Get "rss" -}}
+    {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+{{ end -}}
 <!-- og -->
 {{ partial "opengraph.html" . }}
 <!-- dep -->
-- 
cgit v1.2.3