diff options
author | David M <565357+David-N55@users.noreply.github.com> | 2021-03-04 15:57:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 15:57:49 +0300 |
commit | 3ea1d7d50bd0c1a0fa50747ec012a845d59810a3 (patch) | |
tree | 0ab2d9d28e417f95328bf72836607865fb7ac62a /layouts/partials/header.html | |
parent | 26404ab591859b728b677f00b31e2d42f6775311 (diff) | |
parent | aa133bcfe83440b629d827306f04183fe3ac5c23 (diff) |
Fix deprecation warnings and correct README
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 34377c7..e76b8ed 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -4,7 +4,7 @@ <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> - {{ .Hugo.Generator }} + {{ hugo.Generator }} <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>{{ .Title }} - {{ .Site.Params.description }}</title> @@ -24,6 +24,6 @@ {{ "<![endif]-->" | safeHTML }} <!-- 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 }}" /> </head> -<body class="{{ .Site.Params.colorScheme }}">
\ No newline at end of file +<body class="{{ .Site.Params.colorScheme }}"> |