From 83eed852278c84e1c8ab976d6d4b76afae80f211 Mon Sep 17 00:00:00 2001 From: Jirka Kremser <535866+jkremser@users.noreply.github.com> Date: Tue, 4 Jun 2019 12:46:49 +0200 Subject: deprecation warnings in hugo 0.55 w/ this change the deprecation warnings are gone --- layouts/partials/header.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8176f59..405463c 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -8,11 +8,8 @@ {{ if .Site.Params.favicon }} {{ end }} - {{ partial "css" . }} {{ partial "js" . }} {{ .Hugo.Generator }} - {{ if .RSSLink }} - - - {{ end }} + {{ partial "css" . }} {{ partial "js" . }} {{ hugo.Generator }} + {{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}. {{ if .Site.GoogleAnalytics }} -- cgit v1.2.3