diff options
-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 7c49453..bbc4ae5 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,6 @@ <head> <meta charset="utf-8"> - <title>{{ site.Title }}</title> + <title>{{ with .Title }}{{ . }}{{ else }}{{ with site.Title }}{{ . }}{{ end }}{{ end }}</title> {{ "<!-- mobile responsive meta -->" | safeHTML }} <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> @@ -27,4 +27,4 @@ {{ template "_internal/opengraph.html" . }} {{ template "_internal/google_analytics_async.html" . }} -</head>
\ No newline at end of file +</head> |