Add head_js and after_js blocks to the baseof template

This commit is contained in:
Eryn Wells 2024-10-27 09:57:58 -06:00
parent 2f9f25f8c4
commit b7379f6481
2 changed files with 5 additions and 1 deletions

View file

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="{{ or site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<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 }}
</head>
<body>
<header class="site-header">
@ -13,4 +14,5 @@
{{ partial "site/footer.html" . }}
</footer>
</body>
{{- block "after_js" . }}{{ end }}
</html>