mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-25 00:12:18 +00:00
don't capitalize /slashes
This commit is contained in:
parent
d29f86f282
commit
e603cbe707
2 changed files with 3 additions and 2 deletions
|
@ -7,6 +7,7 @@ languageCode = "en"
|
||||||
DefaultContentLanguage = "en"
|
DefaultContentLanguage = "en"
|
||||||
enableInlineShortcodes = true
|
enableInlineShortcodes = true
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
|
capitalizeListTitles = false
|
||||||
|
|
||||||
# define gemini media type
|
# define gemini media type
|
||||||
[mediaTypes]
|
[mediaTypes]
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<h1>{{ site.Params.indexTitle | markdownify }}</h1>
|
<h1>{{ site.Params.indexTitle | markdownify }}</h1>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<h1>{{ .Title | markdownify }}{{ if eq .Kind "term" }} <a target="_blank" href="{{ .Permalink }}feed.xml" aria-label="Category RSS"><i class="fa-solid fa-square-rss"></i></a> </h1>
|
<h1>{{ .Title | markdownify }}{{ if eq .Kind "term" }} <a target="_blank" href="{{ .Permalink }}feed.xml" aria-label="Category RSS"><i class="fa-solid fa-square-rss"></i></a> </h1>
|
||||||
{{ if eq .Title "/Slashes" }}<i>My collection of <a target="_blank" title="what's a slashpage?" href="https://slashpages.net">slashpages</a>.</i><hr>{{ else }}{{ with .Description }}<i>{{ . }}</i><hr>{{ else }}<br>{{ end }}{{ end }}
|
{{ if eq .Title "/slashes" }}<i>My collection of <a target="_blank" title="what's a slashpage?" href="https://slashpages.net">slashpages</a>.</i><hr>{{ else }}{{ with .Description }}<i>{{ . }}</i><hr>{{ else }}<br>{{ end }}{{ end }}
|
||||||
{{ end }}{{ end }}
|
{{ end }}{{ end }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</header>
|
</header>
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- if eq .Title "/Slashes" }}
|
{{- if eq .Title "/slashes" }}
|
||||||
{{- $sortedSlashes := sort $pages "Title" }}
|
{{- $sortedSlashes := sort $pages "Title" }}
|
||||||
{{- range $sortedSlashes }}
|
{{- range $sortedSlashes }}
|
||||||
{{- $postDate := .Date.Format "2006-01-02" }}
|
{{- $postDate := .Date.Format "2006-01-02" }}
|
||||||
|
|
Loading…
Reference in a new issue