summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 07d09bf..ebc84ef 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -7,7 +7,8 @@
<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>
-<script src="{{ "sunrise-sunset.min.js" | absURL }}"></script>
-<script src="{{ "main.js" | absURL }}"></script>
+<script>
+ hljs.initHighlightingOnLoad();
+</script>
</body>
</html>