Drop file extension from partial uses

This commit is contained in:
Will Faught
2022-12-29 22:31:47 -08:00
parent 2ece967314
commit 887be3eb42
16 changed files with 38 additions and 38 deletions

View File

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