add js from assets

- highlight
This commit is contained in:
Aditya Telange 2020-07-20 19:35:06 +05:30
parent 2884ee2055
commit 9e88deff8f

View File

@ -6,9 +6,11 @@
<span>&middot;</span>
<span>Theme <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
</footer>
<script src="{{ "highlight.min.js" | absURL }}"></script>
{{ $highlight := resources.Get "highlight.min.js" | minify }}
<script src="{{ $highlight.Permalink }}"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
</body>
</html>
</html>