First, last includes for body, footer, head, header, and main tags

This commit is contained in:
Will Faught
2023-01-26 17:43:56 -08:00
parent 3bc024bc9e
commit 246a650445
5 changed files with 59 additions and 10 deletions

View File

@@ -4,12 +4,21 @@
<html {{ if eq .Site.Params.paige.color_scheme `dark` }} data-bs-theme="dark" {{ end }} {{ if $rtl }} dir="rtl" {{ end }} {{ with $lang }} lang="{{ . }}" {{ end }}>
{{ partial "paige/head.html" . }}
{{ partial "paige/body.html" . }}
{{ if templates.Exists "partials/paige/body-first.html" }}
{{ partial "paige/body-first.html" . }}
{{ end }}
<div class="container flex-fill">
<div class="row">
<div class="col">
{{ partial "paige/header.html" . }}
<main>
{{ if templates.Exists "partials/paige/main-first.html" }}
{{ partial "paige/main-first.html" . }}
{{ end }}
{{ block "main" . }}{{ end }}
{{ if templates.Exists "partials/paige/main-last.html" }}
{{ partial "paige/main-last.html" . }}
{{ end }}
</main>
{{ partial "paige/footer.html" . }}
</div>