feat: add empty custom_body and custom_head partials
to be overwritten by the user 🎸.
This commit is contained in:
parent
7defcb60fd
commit
285444ebf0
|
@ -12,5 +12,9 @@
|
||||||
<!-- The main JavaScript files for HugoScroll -->
|
<!-- The main JavaScript files for HugoScroll -->
|
||||||
<script type="text/javascript" src='{{ "/js/icons.js" | absURL }}'></script>
|
<script type="text/javascript" src='{{ "/js/icons.js" | absURL }}'></script>
|
||||||
<script type="text/javascript" src='{{ "/js/index.js" |absURL }}'></script>
|
<script type="text/javascript" src='{{ "/js/index.js" |absURL }}'></script>
|
||||||
|
<!-- A partial to be overwritten by the user.
|
||||||
|
Simply place a custom_body.html into
|
||||||
|
your local /layouts/partials-directory -->
|
||||||
|
{{- partial "custom_body.html" . -}}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
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/opengraph.html" . }}
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
{{ template "_internal/schema.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…
Reference in a new issue