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:
parent
ac168d7143
commit
94181c0f15
3 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||
|
|
0
layouts/partials/base/body-extras.html
Normal file
0
layouts/partials/base/body-extras.html
Normal file
0
layouts/partials/base/head-extras.html
Normal file
0
layouts/partials/base/head-extras.html
Normal file
Loading…
Add table
Add a link
Reference in a new issue