Files
docker-docs/layouts/_default/single.markdown.md
David Karlsson aa10ed9784 hugo: improve metadata rendering for markdown output
Render title and related pages as front matter

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-01-12 15:17:32 +01:00

655 B

title: {{ .Title }} url: {{ .Permalink }} {{- range .Ancestors }} {{- if and (not .IsHome) .Permalink }} parent: title: {{ .Title }} url: {{ .Permalink }} {{- break }} {{- end }} {{- end }} {{- if .Ancestors }} breadcrumbs: {{- range .Ancestors.Reverse }} {{- if and (not .IsHome) .Permalink }} - title: {{ .Title }} url: {{ .Permalink }} {{- end }} {{- end }} - title: {{ .Title }} url: {{ .Permalink }} {{- end }} {{- with .NextInSection }} next: title: {{ .Title }} url: {{ .Permalink }} {{- end }} {{- with .PrevInSection }} prev: title: {{ .Title }} url: {{ .Permalink }} {{- end }}

{{ .RenderShortcodes }}