{{/* Children shortcode - simple top-level cards with titles only */}} {{- $showhidden := .Get "showhidden" | default false -}} {{- $cols := (.Get "cols" | default "2") | int -}} {{/* Get direct children only */}} {{- $pages := .Page.Pages -}} {{- if not $showhidden -}} {{- $pages = where .Page.Pages "Params.hidden" "!=" true -}} {{- end -}} {{/* Sort by weight */}} {{- $pages = sort $pages "Weight" -}} {{- if $pages -}} {{/* Create Hextra cards container */}}