From: Bjørn Erik Pedersen Date: Mon, 14 Oct 2019 07:30:09 +0000 (+0200) Subject: examples: Replace .RSSLink X-Git-Tag: v0.59.0~11 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=46cafdbac;p=brevno-suite%2Fhugo examples: Replace .RSSLink Fixes #6037 --- diff --git a/examples/blog/layouts/partials/header.html b/examples/blog/layouts/partials/header.html index 24500a48..5863e59e 100644 --- a/examples/blog/layouts/partials/header.html +++ b/examples/blog/layouts/partials/header.html @@ -6,5 +6,7 @@ {{ .Title }} - {{ .Site.BaseURL }} {{ partial "header.includes.html" . }} - {{ if .RSSLink }}{{ end }} + {{ with .OutputFormats.Get "RSS" -}} + {{ printf "" .Permalink .MediaType .Title | safeHTML }} + {{- end }}