Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/calintat/minimal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJirka Kremser <535866+jkremser@users.noreply.github.com>2019-06-04 13:46:49 +0300
committerCalin Tataru <calintat@gmail.com>2019-06-04 19:46:53 +0300
commit83eed852278c84e1c8ab976d6d4b76afae80f211 (patch)
treec7fa9704594080aef6e027b5320c2f9944b4c9f3
parent488ca073fffae3f487ab2c46dd73c84e03dd7f45 (diff)
deprecation warnings in hugo 0.55
w/ this change the deprecation warnings are gone
-rw-r--r--layouts/partials/header.html7
1 files 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 }}
<link rel="icon" href="{{ .Site.Params.favicon | absURL }}">
{{ end }}
- {{ partial "css" . }} {{ partial "js" . }} {{ .Hugo.Generator }}
- {{ if .RSSLink }}
- <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
- <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
- {{ end }}
+ {{ partial "css" . }} {{ partial "js" . }} {{ hugo.Generator }}
+ {{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}.
{{ if .Site.GoogleAnalytics }}
<!-- Global Site Tag (gtag.js) - Google Analytics -->