From 4043f1b1f4411e4052510068c4901e5e1457e1bd Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 30 Aug 2016 00:39:48 +0300 Subject: [PATCH] Use site title in header, not context's title Depending on the context the ".Title" could be the post or page's title, but here we actually want the site's title. --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 4173990..361dbda 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,6 @@
-

{{ .Title | safeHTML }}

+

{{ .Site.Title | safeHTML }}

{{ if .Site.Params.description }}

{{ .Site.Params.description | safeHTML }}

{{ end }}