From 127f3a40bafe155d4ecebe9ab3df70a5d59f83bc Mon Sep 17 00:00:00 2001 From: Dmitry Kolosov Date: Wed, 29 Apr 2020 22:27:53 +0300 Subject: [PATCH] Fix rss link. Close #28 --- layouts/partials/head.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ff493f8..6ecb2fb 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,7 +7,9 @@ {{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }} - +{{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} +{{ end -}}