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

github.com/damiencaselli/paperback.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index e7c5da8..9e79214 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,14 +1,14 @@
-
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="{{ .Site.Params.authorname }}">
- {{ .Hugo.Generator }}
+ {{ hugo.Generator }}
{{ partial "title" . }}
<meta name="description" content="{{ .Description }}">
<link rel="canonical" href="{{ .Permalink }}">
- <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 }}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro|Arvo:400,700">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/highlight.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/paperback.css">