mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2024-12-02 02:25:03 +03:00
partials/footer: render a placeholder custom_footer.html
This commit is contained in:
parent
1cf2b933a3
commit
4b959d0aa6
3 changed files with 10 additions and 0 deletions
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/prism.js" | absURL }}"></script>
|
||||
|
||||
<!-- Custom footer section-->
|
||||
{{ partial "custom_footer.html" . }}
|
||||
|
|
Loading…
Reference in a new issue