Add head_js and after_js blocks to the baseof template
This commit is contained in:
parent
2f9f25f8c4
commit
b7379f6481
2 changed files with 5 additions and 1 deletions
|
@ -36,6 +36,7 @@
|
|||
grid-column: gutter-start / gutter-end;
|
||||
}
|
||||
|
||||
|
||||
.figure--youtube {
|
||||
grid-column: wide-gutter-start / wide-gutter-end;
|
||||
|
||||
|
@ -50,6 +51,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
figcaption {
|
||||
color: var(--text-color-secondary);
|
||||
font-weight: normal;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue