extended_footer: init

* add placeholder template for extending footer

closes #37
This commit is contained in:
Aditya Telange 2020-10-18 21:52:22 +05:30
parent b720e4a523
commit a41f09bb99
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
<!-- Footer custom content area start -->
<!--
Insert any custom code web-analytics, resources, etc. here
-->
<!-- Footer custom content area end -->

View File

@ -15,6 +15,7 @@
<path d="M12 6H0l6-6z" /></svg> <path d="M12 6H0l6-6z" /></svg>
</button> </button>
</a> </a>
{{- partial "extend_footer.html" . -}}
{{ if in site.Params.mainSections .Type }} {{ if in site.Params.mainSections .Type }}
{{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify | fingerprint -}} {{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify | fingerprint -}}
<script src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"></script> <script src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"></script>