From e603cbe7075ca293c9030f399dc60b2ab450bbf0 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Wed, 29 May 2024 15:56:46 -0500 Subject: [PATCH] don't capitalize /slashes --- config/_default/hugo.toml | 1 + layouts/partials/archive.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 603ce6f..50829a1 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -7,6 +7,7 @@ languageCode = "en" DefaultContentLanguage = "en" enableInlineShortcodes = true enableRobotsTXT = true +capitalizeListTitles = false # define gemini media type [mediaTypes] diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index 7b8b8d3..a4f283a 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -7,7 +7,7 @@

{{ site.Params.indexTitle | markdownify }}

{{ else }}

{{ .Title | markdownify }}{{ if eq .Kind "term" }}  

- {{ if eq .Title "/Slashes" }}My collection of slashpages.
{{ else }}{{ with .Description }}{{ . }}
{{ else }}
{{ end }}{{ end }} + {{ if eq .Title "/slashes" }}My collection of slashpages.
{{ else }}{{ with .Description }}{{ . }}
{{ else }}
{{ end }}{{ end }} {{ end }}{{ end }} {{ .Content }} @@ -43,7 +43,7 @@ {{ end }} {{- end }} {{- else }} - {{- if eq .Title "/Slashes" }} + {{- if eq .Title "/slashes" }} {{- $sortedSlashes := sort $pages "Title" }} {{- range $sortedSlashes }} {{- $postDate := .Date.Format "2006-01-02" }}