diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5aa6934..6bcfea2 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,7 @@ {{ partial "head" . }} - + {{ partial "svg-icon-symbols" . }}
diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html index 03502f5..7c3353a 100644 --- a/layouts/partials/page-header.html +++ b/layouts/partials/page-header.html @@ -10,8 +10,9 @@ {{ $parent := .page.Parent }} {{ if $parent }} {{ $name := (partial "title" $parent) }} - {{ $value := (printf "%s / %s" $parent.RelPermalink $name .value) }} - {{ template "breadcrumb" dict "page" $parent "value" $value }} + {{ $position := (sub .position 1) }} + {{ $value := (printf "
  • %s
  • /
  • %s" $parent.RelPermalink $parent.RelPermalink $name $position .value) }} + {{ template "breadcrumb" dict "page" $parent "value" $value "position" $position }} {{ else }} {{ .value | safeHTML }} {{ end }} @@ -19,24 +20,29 @@ {{ $showBreadcrumb := (and (default true .Page.Params.GeekdocBreadcrumb) (default true .Site.Params.GeekdocBreadcrumb)) }} {{ $showEdit := (and ($.Scratch.Get "geekdocFilePath") $geekdocRepo $geekdocEditPath) }} -