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

@ -36,6 +36,7 @@
grid-column: gutter-start / gutter-end; grid-column: gutter-start / gutter-end;
} }
.figure--youtube { .figure--youtube {
grid-column: wide-gutter-start / wide-gutter-end; grid-column: wide-gutter-start / wide-gutter-end;
@ -50,6 +51,7 @@
} }
} }
figcaption { figcaption {
color: var(--text-color-secondary); color: var(--text-color-secondary);
font-weight: normal; font-weight: normal;

View file

@ -1,8 +1,9 @@
<!DOCTYPE html> <!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> <head>
{{- partial "base/head.html" . -}} {{- partial "base/head.html" . -}}
{{- block "head_css" . }}{{ end -}} {{- block "head_css" . }}{{ end -}}
{{- block "head_js" . }}{{ end }}
</head> </head>
<body> <body>
<header class="site-header"> <header class="site-header">
@ -13,4 +14,5 @@
{{ partial "site/footer.html" . }} {{ partial "site/footer.html" . }}
</footer> </footer>
</body> </body>
{{- block "after_js" . }}{{ end }}
</html> </html>