mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-30 10:22:17 +00:00
Compare commits
No commits in common. "9c18281781dec06b42026668cf9eb56af42de3a3" and "f74059339ca99abd1b468e8facf48169fd73e9c0" have entirely different histories.
9c18281781
...
f74059339c
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</h1>
|
||||
<h1>/slashes <a target="_blank" href="{{ .Permalink }}feed.xml" aria-label="Category RSS"><i class="fa-solid fa-square-rss"></i></a> </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 /slashes</h3>
|
||||
<h3>More {{ .Params.categories }}</h3>
|
||||
{{ $sortedPosts := sort $related "Title" }}
|
||||
<ul>
|
||||
{{- range $sortedPosts }}
|
||||
|
@ -21,7 +21,7 @@
|
|||
{{ end }}
|
||||
</ul>
|
||||
{{ else }}
|
||||
<h3>More {{ .Params.categories }}</h3>
|
||||
<h3>More /slashes</h3>
|
||||
<ul>
|
||||
{{- range first $relatedLimit $related }}
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue