From 19019bf8fdefbca6963bd550daaeb1fa61ffae3e Mon Sep 17 00:00:00 2001 From: Olivier Roques Date: Wed, 25 Nov 2020 11:06:18 +0100 Subject: Add RSS link suggested by #9 --- layouts/partials/head.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'layouts/partials') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index bc0864a..6c35dd1 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -16,6 +16,10 @@ {{ end }} + {{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + {{ if not .Site.IsServer }} {{ template "_internal/google_analytics.html" . }} {{ end }} -- cgit v1.2.3