From 9ff8afb1a9439ad4d9b646bb2d621cc23d02989d Mon Sep 17 00:00:00 2001 From: Daniel Schemmel Date: Wed, 5 Jun 2019 19:06:57 +0200 Subject: fix deprecation warnings without breaking rss --- layouts/partials/header.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8176f59..2bb42b5 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -8,10 +8,10 @@ {{ if .Site.Params.favicon }} {{ end }} - {{ partial "css" . }} {{ partial "js" . }} {{ .Hugo.Generator }} - {{ if .RSSLink }} - - + {{ partial "css" . }} {{ partial "js" . }} {{ hugo.Generator }} + {{ with .OutputFormats.Get "RSS" }} + + {{ end }} {{ if .Site.GoogleAnalytics }} -- cgit v1.2.3