Merge branch 'main' into drafts

This commit is contained in:
John Bowdre 2024-05-31 14:38:13 -05:00
commit 6747ff0d75
2 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
---
title: slashes
title: /slashes
url: /slashes
aliases:
- categories/slashes

View file

@ -6,8 +6,8 @@
{{ if .IsHome }}
<h1>{{ site.Params.indexTitle | markdownify }}</h1>
{{ else }}
{{ if eq .Title "slashes" }}
<h1>/slashes</h1>
{{ if eq .Title "/slashes" }}
<h1>{{ .Title | markdownify }}</h1>
<i>My collection of <a target="_blank" title="what's a slashpage?" href="https://slashpages.net">slash pages</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>
@ -48,7 +48,7 @@
{{ end }}
{{- end }}
{{- else }}
{{- if eq .Title "slashes" }}
{{- if eq .Title "/slashes" }}
{{- $sortedSlashes := sort $pages "Title" }}
{{- range $sortedSlashes }}
{{- $postDate := .Date.Format "2006-01-02" }}