Skip to content

Commit

Permalink
Merge pull request lukeorth#155 from n0rdy/fix/consistent_webpage_tit…
Browse files Browse the repository at this point in the history
…le_register

Removed the `| humanize | title` from the webpage title to keep the text in the desired registry rather than forcing the uppercase one
  • Loading branch information
lukeorth authored Nov 27, 2023
2 parents 5a83f49 + 99423a9 commit 187e26e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/head/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 187e26e

Please sign in to comment.