From 6759acad62fa9ef08e118873df524eb0437e76ee Mon Sep 17 00:00:00 2001 From: vimux Date: Sun, 30 Sep 2018 22:21:38 +0300 Subject: [PATCH] Add RSS link --- layouts/partials/header.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d1836fa..ea0490a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -13,6 +13,9 @@ + {{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} + {{ end -}} {{ if not .Site.IsServer }}{{ template "_internal/google_analytics_async.html" . }}{{ end }}