Debian Codegraph @

docs/reference/themes/mongodb/layouts/index.html

raw
1 {{- partial "header.html" . -}}
2 {{- $.Scratch.Set "indexFound" false -}}
3 {{- range where .Data.Pages ".Type" "index" -}}
4 {{- $.Scratch.Set "indexFound" true -}}
5 {{- .Content -}}
6 {{- end -}}
7
8 {{- if eq ($.Scratch.Get "indexFound") false -}}
9 {{- partial "welcome.html" . -}}
10 {{- end -}}
11
12 {{- partial "footer.html" . -}}