From ed7bea6694f23c740b63a9fc779f8c92b8a9720d Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Mon, 2 May 2022 00:21:40 +0200 Subject: Rework rss support --- layouts/partials/head.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f2ef3ba..34a9a08 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -16,18 +16,20 @@ {{ hugo.Generator }} - {{- /* Misc */}} - {{ template "partials/templates/doublinecore.html" . }} - {{ template "partials/templates/opengraph.html" . }} - {{ partial "styles.html" . -}} {{ partial "scripts.html" . -}} - - {{- with .OutputFormats.Get "rss" }} - {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} - {{- end }} + {{- /* RSS */}} + {{ range .AlternativeOutputFormats -}} + + {{ end -}} + + {{- partial "custom-head.html" . -}} + + {{- /* Misc */}} + {{ template "partials/templates/doublinecore.html" . }} + {{ template "partials/templates/opengraph.html" . }} -- cgit v1.2.3