diff --git a/README.md b/README.md index a7d1fc19..408b6063 100644 --- a/README.md +++ b/README.md @@ -912,20 +912,20 @@ Body: None. ### Include -| If this file exists | It is included at | -| --------------------------------------------------- | ------------------------------- | -| `yoursite/layouts/partials/paige/body-first.html` | The beginning of the body tag | -| `yoursite/layouts/partials/paige/body-last.html` | The end of the body tag | -| `yoursite/layouts/partials/paige/footer-first.html` | The beginning of the footer tag | -| `yoursite/layouts/partials/paige/footer-last.html` | The end of the footer tag | -| `yoursite/layouts/partials/paige/head-first.html` | The beginning of the head tag | -| `yoursite/layouts/partials/paige/head-last.html` | The end of the head tag | -| `yoursite/layouts/partials/paige/header-first.html` | The beginning of the header tag | -| `yoursite/layouts/partials/paige/header-last.html` | The end of the header tag | -| `yoursite/layouts/partials/paige/main-first.html` | The beginning of the main tag | -| `yoursite/layouts/partials/paige/main-last.html` | The end of the main tag | -| `yoursite/layouts/partials/paige/style-first.css` | The beginning of the style tag | -| `yoursite/layouts/partials/paige/style-last.css` | The end of the style tag | +| If this file exists | It is included at | +| ---------------------------------------------------------| -------------------------------------| +| `yoursite/layouts/partials/paige/body-first.html` | The beginning of the body tag | +| `yoursite/layouts/partials/paige/body-last.html` | The end of the body tag | +| `yoursite/layouts/partials/paige/footer-first.html` | The beginning of the footer tag | +| `yoursite/layouts/partials/paige/footer-last.html` | The end of the footer tag | +| `yoursite/layouts/partials/paige/head-first.html` | The beginning of the head tag | +| `yoursite/layouts/partials/paige/head-last.html` | The end of the head tag | +| `yoursite/layouts/partials/paige/header-last.html` | The end of the header tag | +| `yoursite/layouts/partials/paige/main-first.html` | The beginning of the main tag | +| `yoursite/layouts/partials/paige/main-last.html` | The end of the main tag | +| `yoursite/layouts/partials/paige/site-header-first.html` | The beginning of the site header tag | +| `yoursite/layouts/partials/paige/style-first.css` | The beginning of the style tag | +| `yoursite/layouts/partials/paige/style-last.css` | The end of the style tag | ### Override diff --git a/layouts/partials/paige/site-header.html b/layouts/partials/paige/site-header.html index 61e48737..b2fd6d31 100644 --- a/layouts/partials/paige/site-header.html +++ b/layouts/partials/paige/site-header.html @@ -3,7 +3,7 @@ {{ $ancestors := $page.Ancestors }} {{ $basepath := path.Clean (urls.Parse (relLangURL "")).Path }} {{ $description := $page.Param "paige.site_description" | markdownify }} -{{ $first := templates.Exists "partials/paige/header-first.html" }} +{{ $first := templates.Exists "partials/paige/site-header-first.html" }} {{ $last := templates.Exists "partials/paige/header-last.html" }} {{ $links := false }} {{ $menu := site.Menus.main }} @@ -35,7 +35,7 @@ {{ if or $ancestors $description $first $last $menu $title }}
{{ if $first }} - {{ partial "paige/header-first.html" $page }} + {{ partial "paige/site-header-first.html" $page }} {{ end }} {{ with $title }}