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

github.com/puresyntax71/hugo-theme-chunky-poster.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, 7 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 54e9c9d..f9d3910 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,6 +1,12 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-<title>{{ .Site.Title }}</title>
+
+<title>
+ {{ block "title" . }}
+ {{ with .Params.Title }} {{ . }} | {{ end }}
+ {{ .Site.Title }}
+ {{ end }}
+</title>
{{- if .Description -}}
<meta name="description" content="{{ .Description }}">