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

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rwxr-xr-x[-rw-r--r--]layouts/partials/header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 3ef30da..715b697 100644..100755
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -38,14 +38,14 @@
<link href="{{ "/favicon.png" | absURL }}" rel="icon">
<!-- RSS -->
- {{ with .RSSLink }}<link href="{{ . }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />{{ end }}
+ {{ with .OutputFormats.Get "RSS" }}<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />{{ end }}
<meta name="description" content="{{ if .IsHome }}{{ $.Site.Params.description }}{{ else }}{{ .Description }}{{ end }}" />
<meta name="keywords" content="{{ range $index, $element := .Keywords }}{{ if gt $index 0 }},{{ end }}{{ . }}{{ else }}{{ .Site.Params.defaultKeywords }}{{ end }}">
<meta name="author" content="{{ .Site.Params.author }}">
<!-- Generator version for usage tracking -->
- {{ .Hugo.Generator }}
+ {{ hugo.Generator }}
<!-- Google Analytics -->
{{ template "_internal/google_analytics_async.html" . }}