From 99423a94413b0dc42e85651e32e5b16d84aa5a10 Mon Sep 17 00:00:00 2001 From: n0rdy Date: Fri, 24 Nov 2023 22:06:19 +0100 Subject: [PATCH] Removed the `| humanize | title` from the webpage title to keep the text in the desired registry rather than forcing the uppercase one --- layouts/partials/head/meta.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html index cba34815..691f1140 100644 --- a/layouts/partials/head/meta.html +++ b/layouts/partials/head/meta.html @@ -13,13 +13,13 @@ {{ end }} {{ if .IsSection }} - {{ .Scratch.Set "title" ($.Site.Params.brand | humanize | title) }} + {{ .Scratch.Set "title" ($.Site.Params.brand) }} {{ .Scratch.Add "title" " - " }} {{ .Scratch.Add "title" .LinkTitle }} {{ end }} {{ if .IsPage }} - {{ .Scratch.Set "title" ($.Site.Params.brand | humanize | title) }} + {{ .Scratch.Set "title" ($.Site.Params.brand) }} {{ .Scratch.Add "title" " - " }} {{ .Scratch.Add "title" .LinkTitle }} {{ end }}