mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-30 10:22:17 +00:00
Compare commits
2 commits
f74059339c
...
9c18281781
Author | SHA1 | Date | |
---|---|---|---|
9c18281781 | |||
526985d293 |
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
<h1>{{ site.Params.indexTitle | markdownify }}</h1>
|
||||
{{ else }}
|
||||
{{ if eq .Title "slashes" }}
|
||||
<h1>/slashes <a target="_blank" href="{{ .Permalink }}feed.xml" aria-label="Category RSS"><i class="fa-solid fa-square-rss"></i></a> </h1>
|
||||
<h1>/slashes</h1>
|
||||
<i>My collection of <a target="_blank" title="what's a slashpage?" href="https://slashpages.net">slashpages</a>.</i><hr>
|
||||
{{ 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>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{{$related := where .Site.RegularPages ".Params.categories" "eq" .Params.categories }}
|
||||
{{- $relatedLimit := default 8 .Site.Params.numberOfRelatedPosts }}
|
||||
{{ if eq .Params.categories "slashes" }}
|
||||
<h3>More {{ .Params.categories }}</h3>
|
||||
<h3>More /slashes</h3>
|
||||
{{ $sortedPosts := sort $related "Title" }}
|
||||
<ul>
|
||||
{{- range $sortedPosts }}
|
||||
|
@ -21,7 +21,7 @@
|
|||
{{ end }}
|
||||
</ul>
|
||||
{{ else }}
|
||||
<h3>More /slashes</h3>
|
||||
<h3>More {{ .Params.categories }}</h3>
|
||||
<ul>
|
||||
{{- range first $relatedLimit $related }}
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue