From 8a72e0fe8675e850db3b648e7361757848ec57aa Mon Sep 17 00:00:00 2001 From: Dan Macpherson Date: Thu, 29 Feb 2024 17:16:12 +1000 Subject: [PATCH] Hardening the method for getting pattern index files --- layouts/partials/patterns-browser.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/patterns-browser.html b/layouts/partials/patterns-browser.html index 7086203b3..1a073975a 100644 --- a/layouts/partials/patterns-browser.html +++ b/layouts/partials/patterns-browser.html @@ -22,7 +22,7 @@

- {{ $patterns := where $.Pages "Section" "patterns"}} + {{ $patterns := where $.Pages "Parent.Path" "/patterns"}}
{{- len $patterns -}} of {{ len $patterns }} patterns displayed