partials/footer: render a placeholder custom_footer.html

This commit is contained in:
Wael M. Nasreddine 2019-02-26 00:37:56 -08:00
parent 1cf2b933a3
commit 4b959d0aa6
No known key found for this signature in database
GPG Key ID: FD437548E0BF0F5F
3 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<script type="text/javascript">
console.log("Custom Footer is on!");
</script>

View File

@ -0,0 +1,4 @@
<!--
To add custom footer section, please create
`layouts/partials/custom_footer.html` in your Hugo directory.
-->

View File

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