Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions layouts/commands/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,8 @@ <h1>Commands</h1>
</div>
</form>

{{ $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") }}
<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">
{{ range $index, $page := $pages }}
<article
Expand Down