partials/footer: render a placeholder custom_footer.html
This commit is contained in:
parent
1cf2b933a3
commit
4b959d0aa6
3
exampleSite/layouts/partials/custom_footer.html
Normal file
3
exampleSite/layouts/partials/custom_footer.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<script type="text/javascript">
|
||||||
|
console.log("Custom Footer is on!");
|
||||||
|
</script>
|
4
layouts/partials/custom_footer.html
Normal file
4
layouts/partials/custom_footer.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<!--
|
||||||
|
To add custom footer section, please create
|
||||||
|
`layouts/partials/custom_footer.html` in your Hugo directory.
|
||||||
|
-->
|
@ -13,3 +13,6 @@
|
|||||||
|
|
||||||
<script src="{{ "assets/main.js" | absURL }}"></script>
|
<script src="{{ "assets/main.js" | absURL }}"></script>
|
||||||
<script src="{{ "assets/prism.js" | absURL }}"></script>
|
<script src="{{ "assets/prism.js" | absURL }}"></script>
|
||||||
|
|
||||||
|
<!-- Custom footer section-->
|
||||||
|
{{ partial "custom_footer.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user