use lowercase for navigation headers

This commit is contained in:
John Bowdre 2024-06-28 21:17:25 -05:00
parent 99c771dfe9
commit e2d39367b4
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@
<h1>{{ .Title | markdownify }}</h1> <h1>{{ .Title | markdownify }}</h1>
<i>My collection of <a target="_blank" title="what's a slashpage?" href="https://slashpages.net">slash pages</a>.</i><hr> <i>My collection of <a target="_blank" title="what's a slashpage?" href="https://slashpages.net">slash pages</a>.</i><hr>
{{ else }} {{ else }}
<h1>{{ .Title | markdownify }}{{ if eq .Kind "term" }}&nbsp;<a target="_blank" href="{{ .Permalink }}feed.xml" aria-label="{{ .Title }} RSS" title="{{ .Title }} RSS"><i class="fa-solid fa-square-rss"></i></a>&nbsp;</h1> <h1>{{ .Title | markdownify | lower }}{{ if eq .Kind "term" }}&nbsp;<a target="_blank" href="{{ .Permalink }}feed.xml" aria-label="{{ .Title }} RSS" title="{{ .Title }} RSS"><i class="fa-solid fa-square-rss"></i></a>&nbsp;</h1>
{{ with .Description }}<i>{{ . }}</i>{{ end }} {{ with .Description }}<i>{{ . }}</i>{{ end }}
{{ end }} {{ end }}
<hr> <hr>

View file

@ -21,7 +21,7 @@
{{ end }} {{ end }}
</ul> </ul>
{{ else }} {{ else }}
<h3>More {{ .Params.categories }}</h3> <h3>more {{ lower .Params.categories }}</h3>
<ul> <ul>
{{- range first $relatedLimit $related }} {{- range first $relatedLimit $related }}
<li> <li>
@ -42,7 +42,7 @@
{{- $featured := default 8 .Site.Params.numberOfFeaturedPosts }} {{- $featured := default 8 .Site.Params.numberOfFeaturedPosts }}
{{- $featuredPosts := first $featured (where $posts "Params.featured" true)}} {{- $featuredPosts := first $featured (where $posts "Params.featured" true)}}
{{- with $featuredPosts }} {{- with $featuredPosts }}
<h3>Featured Posts</h3> <h3>features</h3>
<ul> <ul>
{{- range . }} {{- range . }}
<li> <li>