diff options
author | vvveiii <cntrump@gmail.com> | 2019-12-12 04:16:08 +0300 |
---|---|---|
committer | vvveiii <cntrump@gmail.com> | 2019-12-12 04:16:08 +0300 |
commit | a99b9debe609ccb6a0bba09a4edc2479a5ce4da9 (patch) | |
tree | 1e82bc97e9cd6ee86d94f608e83afa50dbaf6372 | |
parent | 3f89a8815aa8b2359c1e4816e7cc5080cb658975 (diff) |
update site titlev1.5.1
-rw-r--r-- | layouts/partials/head.html | 2 |
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 }} – {{ .Site.Title }}</title> {{ else }} - <title>{{ .Site.Title }} – {{ with .Site.Params.slogan }}{{ . }}{{ end }}</title> + <title>{{ .Site.Title }}{{ if isset .Site.Params "slogan" }} – {{ with .Site.Params.slogan }}{{ . }}{{ end }}{{ end }}</title> {{ end }} {{ end }} |