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

github.com/themefisher/parsa-hugo.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.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 424c34e..c0ca5b2 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,15 +1,15 @@
<head>
<meta charset="utf-8">
- <title>{{ .Site.Title }}</title>
+ <title>{{ site.Title }}</title>
{{ "<!-- mobile responsive meta -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
- {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
+ <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}">
+ {{ with site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
{{ hugo.Generator }}
{{ "<!-- plugins -->" | safeHTML }}
- {{ range .Site.Params.plugins.css }}
+ {{ range site.Params.plugins.css }}
<link rel="stylesheet" href="{{ .link | absURL }} ">
{{ end }}