Add body-extras and head-extras partials to the baseof template

These are for clients of this theme to override.
This commit is contained in:
Eryn Wells 2024-11-13 17:02:42 -08:00
parent ac168d7143
commit 94181c0f15
3 changed files with 5 additions and 5 deletions

View file

@ -1,18 +1,18 @@
<!DOCTYPE html>
<html lang="{{ or site.Language.LanguageCode "en" }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<head>
{{- partial "base/head.html" . -}}
{{- block "head_css" . }}{{ end -}}
{{- block "head_js" . }}{{ end }}
{{ partial "base/head.html" . }}
{{ partial "base/head-extras.html" . }}
</head>
<body>
<header class="site-header">
{{ partial "site/header.html" . }}
{{ partialCached "site/header.html" . }}
</header>
{{ block "main" . }}{{ end }}
<footer class="site-footer">
{{ partial "site/footer.html" . }}
{{ partialCached "site/footer.html" . }}
</footer>
{{ partial "base/body-extras.html" . }}
</body>
{{- block "after_js" . }}{{ end }}
</html>

View file

View file