diff --git a/layouts/_default/cli.html b/layouts/_default/cli.html index 32905f1028..cf989b2367 100644 --- a/layouts/_default/cli.html +++ b/layouts/_default/cli.html @@ -169,6 +169,28 @@ {{ end }} {{ $.RenderString (dict "display" "block") . }} {{ end }} + {{ if eq .Kind "section" }} + {{ $heading := dict "level" 2 "text" "Subcommands" }} + {{ partial "heading.html" $heading }} + {{ $.Scratch.Add "headings" $heading }} + + + + + + + + + {{ range .Pages }} + + + {{ end }} + +
CommandDescription
{{ .Title }} + {{ $data := index (index site.Data .Params.datafolder) .Params.datafile }} + {{ $data.short }} +
+ {{ end }} {{ end }}