Is it possible to disable the function that capitalizes the first letter of .Title? We have a product name with a first character that is lowercase, and the FirstUpper function that .Title uses prevents us from displaying the product name in the title properly.
I used a conditional for this sort of case, since my company name is eSolia and I did not want Hugo to output Esolia. See:
{{ "<!-- ENTERING layouts/404.html -->" | safeHTML }}
{{ partial "head.html" . }}
<body>
{{ partial "detailnode-header2.html" . }}
{{ partial "sidebar.html" . }}
<main>
<div class="container">
<!-- Outer row -->
<div class="row">
<div class="col s12 m9 l10">
<!-- Material Design -->
<div id="materialdesign" class="section scrollspy">
<article>
{{ ( index $.Site.Data.translations $.Site.Params.locale ).gen404message }}
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies }}
{{ if eq $taxonomyname "topics" }}
<a href="/{{ $taxonomyname | urlize }}"><h2>{{ ( index $.Site.Data.translations $.Site.Params.locale ).topics }}</h2></a>
{{ range $key, $value := $taxonomy }}
This file has been truncated. show original
Thanks for the suggestion, @RickCogley ! We’re using a conditional to match the one case as well. I guess that’s the best option for the time being.
I was also curious to see if there was a way to override Hugo’s function that capitalized Titles globally in the theme.