From d777c637baa27f25b164ec14ff6cf89cc6bd1b88 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 5 Feb 2023 21:21:42 -0800 Subject: [PATCH] Use uniq before sort --- layouts/partials/paige/pages.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html index 87732a15..212ceca5 100644 --- a/layouts/partials/paige/pages.html +++ b/layouts/partials/paige/pages.html @@ -72,7 +72,7 @@ {{ end }} {{ $flags = delimit ($flags | uniq) " " }} - {{ $sectionclass = delimit (split $sectionclass " " | append $flags | sort | uniq) " " }} + {{ $sectionclass = delimit (split $sectionclass " " | append $flags | uniq | sort) " " }}
{{ with $title }}