From c5cf09978d2d74bdb5fef838b05f873ced4d04ac Mon Sep 17 00:00:00 2001 From: Joe Hutchinson Date: Fri, 19 Jul 2019 14:10:41 -0400 Subject: [PATCH] Remove dot in page title if no title --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c83bef0..222fdc8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -2,7 +2,7 @@ - {{ if not .IsHome }}{{ .Title }} · {{ end }}{{ .Site.Title }} + {{ if not .IsHome }}{{with .Title }}{{ . }} · {{ end }}{{ end }}{{ .Site.Title }} {{ if (fileExists "static/apple-touch-icon.png") -}}