mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04:00
add js from assets
- highlight
This commit is contained in:
parent
2884ee2055
commit
9e88deff8f
@ -6,9 +6,11 @@
|
||||
<span>·</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>
|
Loading…
Reference in New Issue
Block a user