mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 14:32:19 +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"
|
||||
enableInlineShortcodes = true
|
||||
enableRobotsTXT = true
|
||||
capitalizeListTitles = false
|
||||
|
||||
# define gemini media type
|
||||
[mediaTypes]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<h1>{{ site.Params.indexTitle | markdownify }}</h1>
|
||||
{{ 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>
|
||||
{{ 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 }}
|
||||
{{ .Content }}
|
||||
</header>
|
||||
|
@ -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" }}
|
||||
|
|
Loading…
Reference in a new issue