diff options
author | Ralf Geschke <ralf@kuerbis.org> | 2019-04-18 13:28:17 +0300 |
---|---|---|
committer | Ralf Geschke <ralf@kuerbis.org> | 2019-04-18 13:28:17 +0300 |
commit | db0c0da7ffd423b44e1334811c8463fc79bd3172 (patch) | |
tree | dbaa331957746cb7792e43d205dc17c41a6f2557 | |
parent | e447d9c9a25d4915189e84a34df752c2c3656edd (diff) | |
parent | ee52a1b2ac0b3feaa0861921fcbda2dda49fe7a8 (diff) |
Merge branch 'nicregez-master' - sorry for the delay and thanks for contributing!
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index dbeea43..56e85a0 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,6 @@ <head> <meta charset="utf-8" /> - <title>{{ .Page.Title }}{{ if .Site.Params.AppendSiteTitle }} | {{ .Site.Title }}{{ end }}</title> + <title>{{ if .Page.Title }}{{ .Page.Title }}{{ end }}{{ if and (.Page.Title) (.Site.Params.AppendSiteTitle) }} | {{ end }}{{ if .Site.Params.AppendSiteTitle }}{{ .Site.Title }}{{ end }}</title> <meta name="viewport" content="width=device-width, initial-scale=1"> @@ -295,4 +295,4 @@ body { {{- partial "head_includes.html" . }} {{- partial "javascript_header.html" . }} -</head>
\ No newline at end of file +</head> |