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

github.com/jsnjack/kraiklyn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Lukovenko <aluck@cordeo.ru>2019-05-27 20:44:04 +0300
committerAndrei Lukovenko <aluck@cordeo.ru>2019-05-27 20:44:04 +0300
commita187c75f80ce37bf9318627fda6baed3184c974c (patch)
tree160eb3222836b2fbf1aed588f519810f56d97852
parent3fe6cbe1cfe6dbedf459f7ccd4604d3b535e28ab (diff)
hugo 0.55 compatibility (https://github.com/gohugoio/hugo/releases/tag/v0.55.0)
-rw-r--r--layouts/partials/head.html4
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>