From 1590dac97431e8ad4231e5a6972f646eb2aa0e8c Mon Sep 17 00:00:00 2001 From: arubacao Date: Sun, 12 May 2019 21:29:34 +0200 Subject: [PATCH 1/2] 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" . }} From 23249f1d6d2dbc7a1b4a623cfa92ce97cb2e1699 Mon Sep 17 00:00:00 2001 From: arubacao Date: Fri, 24 May 2019 12:10:27 +0200 Subject: [PATCH 2/2] Update layouts/partials/head.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Radek KozieĊ‚ --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 07612e6..9bfe08d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -38,7 +38,7 @@ {{ range .AlternativeOutputFormats -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{ end -}}