diff options
author | Daniel Schemmel <daniel.schemmel@comsys.rwth-aachen.de> | 2019-06-05 20:03:04 +0300 |
---|---|---|
committer | Calin Tataru <calintat@gmail.com> | 2019-06-05 20:17:12 +0300 |
commit | 51329628ae80c3e4dc1fbac2910337db92c86936 (patch) | |
tree | 06d6d5deaa8ee58efe1a03e453bc6e7095874672 | |
parent | 83eed852278c84e1c8ab976d6d4b76afae80f211 (diff) |
Revert "deprecation warnings in hugo 0.55"
This reverts commit 83eed852278c84e1c8ab976d6d4b76afae80f211.
-rw-r--r-- | layouts/partials/header.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 405463c..8176f59 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -8,8 +8,11 @@ {{ if .Site.Params.favicon }} <link rel="icon" href="{{ .Site.Params.favicon | absURL }}"> {{ end }} - {{ partial "css" . }} {{ partial "js" . }} {{ hugo.Generator }} - {{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ 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 }} {{ if .Site.GoogleAnalytics }} <!-- Global Site Tag (gtag.js) - Google Analytics --> |