Skip to content

Commit

Permalink
Removed the | humanize | title from the webpage title to keep the t…
Browse files Browse the repository at this point in the history
…ext in the desired registry rather than forcing the uppercase one
  • Loading branch information
n0rdy committed Nov 24, 2023
1 parent 5a83f49 commit 99423a9
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 99423a9

Please sign in to comment.