Move site footer, header inside main tags
This commit is contained in:
@@ -11,21 +11,19 @@
|
|||||||
<div class="container flex-fill" id="paige-root">
|
<div class="container flex-fill" id="paige-root">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{{ partial "paige/site-header.html" $page }}
|
|
||||||
|
|
||||||
<main class="mt-3" id="paige-main">
|
<main class="mt-3" id="paige-main">
|
||||||
{{ if templates.Exists "partials/paige/main-first.html" }}
|
{{ if templates.Exists "partials/paige/main-first.html" }}
|
||||||
{{ partial "paige/main-first.html" $page }}
|
{{ partial "paige/main-first.html" $page }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ partial "paige/site-header.html" $page }}
|
||||||
{{ block "main" $page }}{{ end }}
|
{{ block "main" $page }}{{ end }}
|
||||||
|
{{ partial "paige/site-footer.html" $page }}
|
||||||
|
|
||||||
{{ if templates.Exists "partials/paige/main-last.html" }}
|
{{ if templates.Exists "partials/paige/main-last.html" }}
|
||||||
{{ partial "paige/main-last.html" $page }}
|
{{ partial "paige/main-last.html" $page }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
{{ partial "paige/site-footer.html" $page }}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if or $page.Ancestors site.Menus.main }}
|
{{ if or $page.Ancestors site.Menus.main }}
|
||||||
<header class="mt-3" id="paige-header">
|
<header class="my-3" id="paige-header">
|
||||||
{{ if templates.Exists "partials/paige/header-first.html" }}
|
{{ if templates.Exists "partials/paige/header-first.html" }}
|
||||||
{{ partial "paige/header-first.html" $page }}
|
{{ partial "paige/header-first.html" $page }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user