docs/layouts/list.html
{{ partial "layouts/docsheader.html" . }} {{ range $pages }} {{ if eq . $ }} {{ continue }} {{ end }} [ {{ if .Params.show_publish_date }} {{ with .PublishDate }}
{{ partial "layouts/date.html" . }}
{{ end }} {{ end }}
{{ with .Params.functions_and_methods.signatures }} {{/* Set in functions and methods pages. */}} {{ with $signature := index . 0 }} {{ if $.Params.functions_and_methods.returnType }} {{ $signature = printf "%s ⟼ %s" $signature $.context.Params.functions_and_methods.returnType }} {{ end }} {{- $signature -}} {{ end }} {{ end }}
{{ if and (eq .Section "commands") .IsPage }} {{ $simpleCobraCommandShort := .RawContent | strings.ReplaceRE (?s)^##\s.+?\n\n(.+?)\n\n.* "$1" }} {{ printf "%s." $simpleCobraCommandShort }} {{ else }} {{ (or .Params.description .Summary) | plainify | safeHTML }} {{ end }}
{{ if and hugo.IsDevelopment site.Params.debug.display_page_metadata }} {{ partial "helpers/debug/list-item-metadata.html" . }} {{ end }} ]({{%20or%20.Params.permalink%20.RelPermalink%20}}) {{ end }}