Rename header-last.html to site-header-last.html

master
Will Faught 12 months ago
parent 8fd4a7aa13
commit e63ace5f74

@ -920,10 +920,10 @@ Body: None.
| `yoursite/layouts/partials/paige/footer-last.html` | The end 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-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/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-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/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/site-header-first.html` | The beginning of the site header tag |
| `yoursite/layouts/partials/paige/site-header-last.html` | The end of the site header tag |
| `yoursite/layouts/partials/paige/style-first.css` | The beginning of the style 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 | | `yoursite/layouts/partials/paige/style-last.css` | The end of the style tag |

@ -4,7 +4,7 @@
{{ $basepath := path.Clean (urls.Parse (relLangURL "")).Path }} {{ $basepath := path.Clean (urls.Parse (relLangURL "")).Path }}
{{ $description := $page.Param "paige.site_description" | markdownify }} {{ $description := $page.Param "paige.site_description" | markdownify }}
{{ $first := templates.Exists "partials/paige/site-header-first.html" }} {{ $first := templates.Exists "partials/paige/site-header-first.html" }}
{{ $last := templates.Exists "partials/paige/header-last.html" }} {{ $last := templates.Exists "partials/paige/site-header-last.html" }}
{{ $links := false }} {{ $links := false }}
{{ $menu := site.Menus.main }} {{ $menu := site.Menus.main }}
{{ $pills := false }} {{ $pills := false }}
@ -103,7 +103,7 @@
{{ end }} {{ end }}
{{ if $last }} {{ if $last }}
{{ partial "paige/header-last.html" $page }} {{ partial "paige/site-header-last.html" $page }}
{{ end }} {{ end }}
</header> </header>
{{ end }} {{ end }}

Loading…
Cancel
Save