feat: add empty custom_body and custom_head partials
to be overwritten by the user 🎸.
This commit is contained in:
parent
7defcb60fd
commit
285444ebf0
4 changed files with 19 additions and 2 deletions
4
layouts/partials/custom_body.html
Normal file
4
layouts/partials/custom_body.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<!-- A partial to be overwritten by the user.
|
||||
Simply place a custom_body.html into
|
||||
your local /layouts/partials-directory.
|
||||
Its content will appear before the closing </body>-tag -->
|
||||
4
layouts/partials/custom_head.html
Normal file
4
layouts/partials/custom_head.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<!-- A partial to be overwritten by the user.
|
||||
Simply place a custom_head.html into
|
||||
your local /layouts/partials-directory.
|
||||
Its content will appear before the closing </head>-tag -->
|
||||
|
|
@ -21,3 +21,8 @@
|
|||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
{{ template "_internal/schema.html" . }}
|
||||
|
||||
<!-- A partial to be overwritten by the user.
|
||||
Simply place a custom_head.html into
|
||||
your local /layouts/partials-directory -->
|
||||
{{- partial "custom_head.html" . -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue