From 7d5c374e4a25a3fd2a261f245c074037e5a7aa6e Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Tue, 28 Apr 2020 03:28:56 +0000 Subject: [PATCH] Hugo Deprecations (#85) Merge branch 'master' into hugo-deps Hugo Deprecations Fix #83 Reviewed-on: https://gitea.com/gitea/theme/pulls/85 Reviewed-by: Lunny Xiao Reviewed-by: 6543 <6543@noreply.gitea.io> --- 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 cdbb11a..cec39e6 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -12,16 +12,16 @@ - {{ .Hugo.Generator }} + {{ hugo.Generator }} {{ if and (not .IsHome) .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }} {{ with .Params.goimport }}{{ end }} {{ with .Params.gosource }}{{ end }} - {{ with .RSSLink }} - - + {{ with .OutputFormats.Get "RSS" }} + + {{ end }}