From 694ec5248d6f23f082a5ef0b43d205b61b58cbe3 Mon Sep 17 00:00:00 2001 From: Naomi Pentrel <5212232+npentrel@users.noreply.github.com> Date: Wed, 16 Oct 2024 14:41:43 +0200 Subject: [PATCH] Use how-to guide weight variable (#3577) --- layouts/_default/list.typesense.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/layouts/_default/list.typesense.json b/layouts/_default/list.typesense.json index d823291206..4f6d753eaf 100644 --- a/layouts/_default/list.typesense.json +++ b/layouts/_default/list.typesense.json @@ -15,11 +15,7 @@ {{- end -}} {{- if .Weight -}} - {{- if eq .Section "how-tos" -}} - {{- $.Scratch.Set "featured" 9999 -}} - {{- else -}} - {{- $.Scratch.Set "featured" .Weight -}} - {{- end -}} + {{- $.Scratch.Set "featured" .Weight -}} {{- else -}} {{- $.Scratch.Set "featured" 9999 -}} {{- end -}}