diff --git a/layouts/partials/paige/site-header.html b/layouts/partials/paige/site-header.html index 6888a1bb..c63dd12a 100644 --- a/layouts/partials/paige/site-header.html +++ b/layouts/partials/paige/site-header.html @@ -1,12 +1,26 @@ {{ $page := . }} +{{ $description := $page.Param "paige.site_description" }} +{{ $title := $page.Param "paige.site_title" }} + {{ if or $page.Ancestors site.Menus.main }}
{{ if templates.Exists "partials/paige/header-first.html" }} {{ partial "paige/header-first.html" $page }} {{ end }} - {{ partial "paige/site-metadata.html" $page }} + {{ if or $description $title }} +
+ {{ with $title }} +

{{ . | markdownify }}

+ {{ end }} + + {{ with $description }} +

{{ . | markdownify }}

+ {{ end }} +
+ {{ end }} + {{ partial "paige/menu.html" $page }} {{ partial "paige/breadcrumbs.html" . }} diff --git a/layouts/partials/paige/site-metadata.html b/layouts/partials/paige/site-metadata.html deleted file mode 100644 index 6b478a24..00000000 --- a/layouts/partials/paige/site-metadata.html +++ /dev/null @@ -1,16 +0,0 @@ -{{ $page := . }} - -{{ $description := $page.Param "paige.site_description" }} -{{ $title := $page.Param "paige.site_title" }} - -{{ if or $description $title }} -
- {{ with $title }} -

{{ . | markdownify }}

- {{ end }} - - {{ with $description }} -

{{ . | markdownify }}

- {{ end }} -
-{{ end }}