From a779a3908f80d4d4eb9d5cb891ff5935aaa9c2c9 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Fri, 17 May 2024 14:37:29 +0100 Subject: [PATCH] Fix tags --- content/bookmarks/okay-color-spaces.md | 1 + layouts/_default/list.html | 2 +- layouts/partials/post-previews.html | 2 +- layouts/partials/topic-tags.html | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/content/bookmarks/okay-color-spaces.md b/content/bookmarks/okay-color-spaces.md index c4c70e77..74246c3a 100644 --- a/content/bookmarks/okay-color-spaces.md +++ b/content/bookmarks/okay-color-spaces.md @@ -1,6 +1,7 @@ --- title: Okay, Color Spaces date: "2024-03-03T08:57:00Z" +emoji: 🎨 publishDate: "2024-02-20T00:00:00Z" bookmarkOf: https://ericportis.com/posts/2024/okay-color-spaces/ references: diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 724289c8..2716f610 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -16,7 +16,7 @@
{{ .Content }}
{{ end }} - {{ range $paginator.Pages.GroupByPublishDate "2006" }} + {{ range $paginator.Pages.GroupByDate "2006" }}
{{ .Key }}
diff --git a/layouts/partials/post-previews.html b/layouts/partials/post-previews.html index 846466dc..a2596520 100644 --- a/layouts/partials/post-previews.html +++ b/layouts/partials/post-previews.html @@ -25,7 +25,7 @@ {{- end -}} -

{{ partial "svg.html" (dict "name" "document") }} You can also look through all my longer-form writing, or find a particular topic.

+

{{ partial "svg.html" (dict "name" "document") }} Check out all my longer posts, or read through my thoughts on others' writing.

{{- $allEvents := where .Site.RegularPages "Section" "calendar" -}} {{- $upcomingEvents := slice }} diff --git a/layouts/partials/topic-tags.html b/layouts/partials/topic-tags.html index 10811a22..de4ff05d 100644 --- a/layouts/partials/topic-tags.html +++ b/layouts/partials/topic-tags.html @@ -1,5 +1,5 @@ {{ $topics := .Params.topics }} -{{ if gt (len $topics) 0 }}{{ with $topics }} +{{ with $topics }}{{ if gt (len $topics) 0 }}

{{ partial "svg.html" (dict "name" "topic") }}