From 9c18281781dec06b42026668cf9eb56af42de3a3 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Thu, 30 May 2024 16:29:22 -0500 Subject: [PATCH] fix related header on sidebar --- layouts/partials/aside.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 912b21d..a37a656 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -11,7 +11,7 @@ {{$related := where .Site.RegularPages ".Params.categories" "eq" .Params.categories }} {{- $relatedLimit := default 8 .Site.Params.numberOfRelatedPosts }} {{ if eq .Params.categories "slashes" }} -

More {{ .Params.categories }}

+

More /slashes

{{ $sortedPosts := sort $related "Title" }} {{ else }} -

More /slashes

+

More {{ .Params.categories }}