Skip to content

Commit 3a5ae84

Browse files
committed
DEV: simplify commands list layout
1 parent 93fb35a commit 3a5ae84

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

layouts/commands/list.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,8 @@ <h1>Commands</h1>
100100
</div>
101101
</form>
102102

103-
{{ $parent := .Page }}
104103
{{ $pages := (where .Site.Pages "Section" .Section).ByWeight }}
105-
{{ $pages = (where $pages "Type" "!=" "search") }}
106-
{{ $pages = (where $pages ".Params.hide_summary" "!=" true) }}
107-
{{ $pages = (where $pages ".Parent" "!=" nil) }}
108-
{{/* $pages = (where $pages "Parent.File.UniqueID" "==" $parent.File.UniqueID) */}}
109104
{{ $pages = (where $pages ".Params.hidden" "!=" true) }}
110-
{{ $pages = (where $pages "Kind" "!=" "section") }}
111105
<div id="commands-grid" class="flex flex-col md:grid grid-cols-[repeat(auto-fit,minmax(18rem,1fr))] gap-4 text-redis-ink-900 mx-auto">
112106
{{ range $index, $page := $pages }}
113107
<article

0 commit comments

Comments
 (0)