diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 4a7291e..3db7b6d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -40,6 +40,9 @@ {{- end }} + {{ if templates.Exists "partials/extend_header_before.html" }} + {{- partial "extend_header_before.html" . -}} + {{ end }} {{- $label_text := (site.Params.label.text | default site.Title) }} @@ -121,6 +124,9 @@ {{- $currentPage := . }} + {{ if templates.Exists "partials/extend_header_menu_items_before.html" }} + {{- partial "extend_header_menu_items_before.html" . -}} + {{ end }} {{- range site.Menus.main }} {{- $menu_item_url := (cond (strings.HasSuffix .URL "/") .URL (printf "%s/" .URL) ) | absLangURL }} {{- $page_url:= $currentPage.Permalink | absLangURL }} @@ -144,6 +150,12 @@ {{- end }} + {{ if templates.Exists "partials/extend_header_menu_items_after.html" }} + {{- partial "extend_header_menu_items_after.html" . -}} + {{ end }} + {{ if templates.Exists "partials/extend_header_after.html" }} + {{- partial "extend_header_after.html" . -}} + {{ end }}