Compare commits

..

No commits in common. "9c18281781dec06b42026668cf9eb56af42de3a3" and "f74059339ca99abd1b468e8facf48169fd73e9c0" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
<h1>{{ site.Params.indexTitle | markdownify }}</h1>
{{ else }}
{{ if eq .Title "slashes" }}
<h1>/slashes</h1>
<h1>/slashes&nbsp;<a target="_blank" href="{{ .Permalink }}feed.xml" aria-label="Category RSS"><i class="fa-solid fa-square-rss"></i></a>&nbsp;</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" }}&nbsp;<a target="_blank" href="{{ .Permalink }}feed.xml" aria-label="Category RSS"><i class="fa-solid fa-square-rss"></i></a>&nbsp;</h1>

View file

@ -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>