Fix #1 : no more warnings

This commit is contained in:
Wilfried OLLIVIER 2019-04-10 15:07:05 +02:00
parent 8f0feb5ed5
commit 785dfbf29a

View file

@ -8,10 +8,10 @@
{{ if .Site.Params.favicon }} {{ if .Site.Params.favicon }}
<link rel="icon" href="{{ .Site.Params.favicon | absURL }}"> <link rel="icon" href="{{ .Site.Params.favicon | absURL }}">
{{ end }} {{ end }}
{{ partial "css" . }} {{ partial "js" . }} {{ .Hugo.Generator }} {{ partial "css" . }} {{ partial "js" . }} {{ hugo.Generator }}
{{ if .RSSLink }} {{ if .OutputFormats.Get "RSS" }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> <link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" /> <link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }} {{ end }}
{{ if .Site.GoogleAnalytics }} {{ if .Site.GoogleAnalytics }}