URI: 
       quick-reference.html - hugo - [fork] hugo port for 9front
  HTML git clone https://git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       quick-reference.html (888B)
       ---
            1 {{- /*
            2 Renders the child sections of the given top-level section, listing each child's
            3 immediate descendants.
            4 
            5 @param {string} section The top-level section to render.
            6 
            7 @example {{% quick-reference section="/functions" %}}
            8 */ -}}
            9 {{ $section := "" }}
           10 {{ with .Get "section" }}
           11   {{ $section = . }}
           12 {{ else }}
           13   {{ errorf "The %q shortcode requires a 'section' parameter. See %s" .Name .Position }}
           14 {{ end }}
           15 
           16 {{ with site.GetPage $section }}
           17   {{ range .Sections }}
           18 ## {{ .LinkTitle }}{{/* Do not indent. */}}
           19 {{ .Description }}{{/* Do not indent. */}}
           20     {{ .Content }}
           21     {{ with .Pages }}
           22       {{ range . }}
           23 [{{ .LinkTitle }}]({{ .RelPermalink }}){{/* Do not indent. */}}
           24 : {{ .Description }}{{/* Do not indent. */}}
           25       {{ end }}
           26     {{ end }}
           27   {{ end }}
           28 {{ else }}
           29   {{ errorf "The %q shortcodes was unable to find the %q section. See %s" .Name $section .Position }}
           30 {{ end }}