mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-09 17:42:19 +00:00
use lowercase for navigation headers
This commit is contained in:
parent
99c771dfe9
commit
e2d39367b4
2 changed files with 3 additions and 3 deletions
|
@ -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" }} <a target="_blank" href="{{ .Permalink }}feed.xml" aria-label="{{ .Title }} RSS" title="{{ .Title }} RSS"><i class="fa-solid fa-square-rss"></i></a> </h1>
|
<h1>{{ .Title | markdownify | lower }}{{ if eq .Kind "term" }} <a target="_blank" href="{{ .Permalink }}feed.xml" aria-label="{{ .Title }} RSS" title="{{ .Title }} RSS"><i class="fa-solid fa-square-rss"></i></a> </h1>
|
||||||
{{ with .Description }}<i>{{ . }}</i>{{ end }}
|
{{ with .Description }}<i>{{ . }}</i>{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<hr>
|
<hr>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue