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>
|
<h1>{{ site.Params.indexTitle | markdownify }}</h1>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ if eq .Title "slashes" }}
|
{{ 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>
|
<i>My collection of <a target="_blank" title="what's a slashpage?" href="https://slashpages.net">slashpages</a>.</i><hr>
|
||||||
{{ 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>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
{{$related := where .Site.RegularPages ".Params.categories" "eq" .Params.categories }}
|
{{$related := where .Site.RegularPages ".Params.categories" "eq" .Params.categories }}
|
||||||
{{- $relatedLimit := default 8 .Site.Params.numberOfRelatedPosts }}
|
{{- $relatedLimit := default 8 .Site.Params.numberOfRelatedPosts }}
|
||||||
{{ if eq .Params.categories "slashes" }}
|
{{ if eq .Params.categories "slashes" }}
|
||||||
<h3>More {{ .Params.categories }}</h3>
|
<h3>More /slashes</h3>
|
||||||
{{ $sortedPosts := sort $related "Title" }}
|
{{ $sortedPosts := sort $related "Title" }}
|
||||||
<ul>
|
<ul>
|
||||||
{{- range $sortedPosts }}
|
{{- range $sortedPosts }}
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<h3>More /slashes</h3>
|
<h3>More {{ .Params.categories }}</h3>
|
||||||
<ul>
|
<ul>
|
||||||
{{- range first $relatedLimit $related }}
|
{{- range first $relatedLimit $related }}
|
||||||
<li>
|
<li>
|
||||||
|
|
Loading…
Reference in a new issue