feat: add empty custom_body and custom_head partials

to be overwritten by the user 🎸.
This commit is contained in:
Jan Raasch 2020-07-08 20:26:33 +02:00
parent 7defcb60fd
commit 285444ebf0
4 changed files with 19 additions and 2 deletions

View file

@ -12,5 +12,9 @@
<!-- The main JavaScript files for HugoScroll -->
<script type="text/javascript" src='{{ "/js/icons.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>
</html>

View 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 -->

View 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 -->

View file

@ -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" . -}}