From 1590dac97431e8ad4231e5a6972f646eb2aa0e8c Mon Sep 17 00:00:00 2001 From: arubacao Date: Sun, 12 May 2019 21:29:34 +0200 Subject: [PATCH] Update RSS link in head --- layouts/partials/head.html | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 673564d..07612e6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -36,15 +36,10 @@ {{ range .Params.categories }}{{ end }} {{ if isset .Params "date" }}{{ end }} - -{{ if .RSSLink }} - -{{ end }} - - -{{ if .OutputFormats.Get "json" }} - -{{ end }} + +{{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} +{{ end -}} -{{- partial "extended_head.html" . }} \ No newline at end of file +{{- partial "extended_head.html" . }}