mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 14:32:19 +00:00
tweak /slashes index page
This commit is contained in:
parent
9c18281781
commit
e571f182af
2 changed files with 6 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: slashes
|
title: /slashes
|
||||||
url: /slashes
|
url: /slashes
|
||||||
aliases:
|
aliases:
|
||||||
- categories/slashes
|
- categories/slashes
|
||||||
description: >
|
description: >
|
||||||
My collection of slashpages.
|
My collection of slash pages.
|
||||||
---
|
---
|
|
@ -6,9 +6,9 @@
|
||||||
{{ if .IsHome }}
|
{{ if .IsHome }}
|
||||||
<h1>{{ site.Params.indexTitle | markdownify }}</h1>
|
<h1>{{ site.Params.indexTitle | markdownify }}</h1>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ if eq .Title "slashes" }}
|
{{ if eq .Title "/slashes" }}
|
||||||
<h1>/slashes</h1>
|
<h1>{{ .Title | markdownify }}</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">slash pages</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>
|
||||||
{{ with .Description }}<i>{{ . }}</i><hr>{{ else }}<br>{{ end }}
|
{{ with .Description }}<i>{{ . }}</i><hr>{{ else }}<br>{{ end }}
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- if eq .Title "slashes" }}
|
{{- if eq .Title "/slashes" }}
|
||||||
{{- $sortedSlashes := sort $pages "Title" }}
|
{{- $sortedSlashes := sort $pages "Title" }}
|
||||||
{{- range $sortedSlashes }}
|
{{- range $sortedSlashes }}
|
||||||
{{- $postDate := .Date.Format "2006-01-02" }}
|
{{- $postDate := .Date.Format "2006-01-02" }}
|
||||||
|
|
Loading…
Reference in a new issue