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

github.com/cntrump/hugo-notepadium.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvvveiii <cntrump@gmail.com>2019-12-12 04:16:08 +0300
committervvveiii <cntrump@gmail.com>2019-12-12 04:16:08 +0300
commita99b9debe609ccb6a0bba09a4edc2479a5ce4da9 (patch)
tree1e82bc97e9cd6ee86d94f608e83afa50dbaf6372
parent3f89a8815aa8b2359c1e4816e7cc5080cb658975 (diff)
update site titlev1.5.1
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f719d91..4dcf858 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -10,7 +10,7 @@
{{ if not (eq $title .Site.Title) }}
<title>{{ $title }} &ndash; {{ .Site.Title }}</title>
{{ else }}
- <title>{{ .Site.Title }} &ndash; {{ with .Site.Params.slogan }}{{ . }}{{ end }}</title>
+ <title>{{ .Site.Title }}{{ if isset .Site.Params "slogan" }} &ndash; {{ with .Site.Params.slogan }}{{ . }}{{ end }}{{ end }}</title>
{{ end }}
{{ end }}