theme: wildspace #647

This commit is contained in:
Sören Weber 2023-09-23 23:28:31 +02:00
parent 09ad8299e7
commit 7665c8a261
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -2,8 +2,8 @@
{{- $page := .page }}
{{- $depth := .depth | default 0 }}
{{- with $page.Parent }}
{{- $depth = add $depth 1 }}
{{- partial "get-page-depth.hugo" (dict "page" . "depth" $depth) }}
{{- $depth = add $depth 1 }}
{{- partial "get-page-depth.hugo" (dict "page" . "depth" $depth) }}
{{- else }}
{{- $depth }}
{{- end }}