From 3a5ae84d48e6a409063f4890094bee2ffc7297cd Mon Sep 17 00:00:00 2001 From: "David W. Dougherty" Date: Fri, 30 May 2025 14:31:46 -0700 Subject: [PATCH] DEV: simplify commands list layout --- layouts/commands/list.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/layouts/commands/list.html b/layouts/commands/list.html index fa1a38b351..0e88917392 100644 --- a/layouts/commands/list.html +++ b/layouts/commands/list.html @@ -100,14 +100,8 @@

Commands

- {{ $parent := .Page }} {{ $pages := (where .Site.Pages "Section" .Section).ByWeight }} - {{ $pages = (where $pages "Type" "!=" "search") }} - {{ $pages = (where $pages ".Params.hide_summary" "!=" true) }} - {{ $pages = (where $pages ".Parent" "!=" nil) }} - {{/* $pages = (where $pages "Parent.File.UniqueID" "==" $parent.File.UniqueID) */}} {{ $pages = (where $pages ".Params.hidden" "!=" true) }} - {{ $pages = (where $pages "Kind" "!=" "section") }}
{{ range $index, $page := $pages }}