diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b67c244..d562495 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,5 +1,9 @@ <meta charset="utf-8" /> -<title>{{ .Title }}</title> +{{ if .Title }} + <title>{{ .Title }} - {{ .Site.Title }}</title> +{{ else }} + <title>{{ .Site.Title }}</title> +{{ end }} {{ with .Site.Params.description }} <meta name="description" content="{{ . }}" /> {{ end }} |