diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4f65095..f7383b2 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,7 +11,7 @@ {{ partial "style.html" "scss/style.scss" }} - {{ partial "title-item.html" (dict "page" . "current" .)}}{{ .Site.Title }} + {{ partial "title-item.html" . }}{{ .Site.Title }} {{ partial "metadata.html" . }} diff --git a/layouts/partials/title-item.html b/layouts/partials/title-item.html index 51c4262..7533f60 100644 --- a/layouts/partials/title-item.html +++ b/layouts/partials/title-item.html @@ -1,5 +1,5 @@ -{{ .page.Title }} :: +{{ .Title }} :: -{{ if .page.Parent }}{{ if not .page.Parent.IsHome }} -{{ partial "title-item.html" (dict "page" .page.Parent "current" .current) }} +{{ if .Parent }}{{ if not .Parent.IsHome }} + {{ partial "title-item.html" .Parent }} {{ end }}{{ end }}