Add missing .html extension to partials

This commit is contained in:
Will Faught
2022-12-31 21:30:33 -08:00
parent f26b35ff0f
commit 016a9f3e57
17 changed files with 44 additions and 44 deletions

View File

@@ -2,22 +2,22 @@
{{ $rtl := eq .Language.LanguageDirection "rtl" }}
{{ $lang := .Site.LanguageCode | default .Site.Language.Lang }}
<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" . }}
{{ partial "paige/head.html" . }}
<body class="d-flex flex-column">
<div class="container flex-fill">
<div class="row">
<div class="col">
{{ partial "paige/header" . }}
{{ partial "paige/header.html" . }}
<main>
{{ block "main" . }}{{ end }}
</main>
{{ partial "paige/footer" . }}
{{ partial "paige/footer.html" . }}
</div>
</div>
</div>
{{ partial "paige/scripts" . }}
{{ partial "paige/scripts.html" . }}
{{ if templates.Exists "partials/paige-body-last.html" }}
{{ partial "paige/body-last" . }}
{{ partial "paige/body-last.html" . }}
{{ end }}
</body>
</html>