Back to Minikube

Section Index

site/layouts/partials/section-index.html

1.38.1854 B
Original Source

{{ $related := .Site.RegularPages.Related . | first 3 }} {{ with $related }}

See Also

{{ range . }} - {{ .Title }} {{ end }} {{ end }} {{ $pages := (where .Site.Pages "Section" .Section).ByWeight }} {{ $parent := .Page }} {{ if $parent.Params.no_list }} {{/* If no_list is true we don't show a list of subpages */}} {{ else if $parent.Params.simple_list }} {{/* If simple_list is true we show a bulleted list of subpages */}} {{ range $pages }} {{ if eq .Parent $parent }} - {{- .Title -}} {{ end }} {{ end }} {{ else }} {{/* Otherwise we show a nice formatted list of subpages with page descriptions */}}


{{ range $pages }} {{ if eq .Parent $parent }}

{{- .Title -}}

{{ .Description | markdownify }}

{{ end }} {{ end }} {{ end }}