From e571f182af829df228eec534cf15d35b03481529 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Fri, 31 May 2024 14:38:05 -0500 Subject: [PATCH] tweak /slashes index page --- content/categories/slashes/_index.md | 4 ++-- layouts/partials/archive.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/categories/slashes/_index.md b/content/categories/slashes/_index.md index ab09aa0..c1c5ceb 100644 --- a/content/categories/slashes/_index.md +++ b/content/categories/slashes/_index.md @@ -1,8 +1,8 @@ --- -title: slashes +title: /slashes url: /slashes aliases: - categories/slashes description: > - My collection of slashpages. + My collection of slash pages. --- \ No newline at end of file diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index 27017fa..4907815 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -6,9 +6,9 @@ {{ if .IsHome }}

{{ site.Params.indexTitle | markdownify }}

{{ else }} - {{ if eq .Title "slashes" }} -

/slashes

- My collection of slashpages.
+ {{ if eq .Title "/slashes" }} +

{{ .Title | markdownify }}

+ My collection of slash pages.
{{ else }}

{{ .Title | markdownify }}{{ if eq .Kind "term" }}  

{{ with .Description }}{{ . }}
{{ else }}
{{ end }} @@ -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" }}