diff options
author | Yauhen Shulitski <jsnjack@gmail.com> | 2019-05-28 12:27:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-28 12:27:31 +0300 |
commit | 723d123b6553f952a8b95fd4cb21bb3cbd1763d3 (patch) | |
tree | 160eb3222836b2fbf1aed588f519810f56d97852 | |
parent | 3fe6cbe1cfe6dbedf459f7ccd4604d3b535e28ab (diff) | |
parent | a187c75f80ce37bf9318627fda6baed3184c974c (diff) |
Merge pull request #11 from alukovenko/master
hugo 0.55 compatibility (https://github.com/gohugoio/hugo/releases/ta…
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5665799..d222be4 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"{{with .Site.LanguageCode}} xml:lang="{{.}}" lang="{{.}}"{{end}}> <head> - {{ .Hugo.Generator }} + {{ hugo.Generator }} <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> @@ -14,7 +14,7 @@ {{ range .Site.Params.customCss -}} <link rel="stylesheet" href="{{ . | absURL }}"> {{- end }} - <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> |