From 807444f69a189bb79d67900bf199a5e69c4bc11a Mon Sep 17 00:00:00 2001 From: Amolith Date: Sat, 18 Dec 2021 20:42:36 -0500 Subject: [PATCH] Improve semantics --- themes/secluded/layouts/_default/list.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/themes/secluded/layouts/_default/list.html b/themes/secluded/layouts/_default/list.html index 67afe4e..432f3b9 100644 --- a/themes/secluded/layouts/_default/list.html +++ b/themes/secluded/layouts/_default/list.html @@ -11,11 +11,11 @@ {{ if eq $title "Posts" }}

Categories

- {{range ($.Site.GetPage "taxonomyTerm" "categories").Pages }} - -

{{.Title}}

-
- {{end}} +

+ {{ range ($.Site.GetPage "taxonomyTerm" "categories").Pages }} + {{.Title}} + {{- end }} +

{{ end }} @@ -30,11 +30,11 @@ {{ if .Site.Params.dateformShort }}{{ .Date.Format .Site.Params.dateformShort }}{{ else }}{{ .Date.Format "Jan 02"}}{{ end }}

{{ .Summary | truncate 140 }}

- {{ range (.GetTerms "tags") }} - -

{{.Title}}

-
- {{ end }} +

+ {{- range (.GetTerms "tags") }} + {{.Title}} + {{- end }} +

{{- end }}