mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-25 06:59:28 -05:00
32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
</main>
|
||
<footer class="footer">
|
||
<span>© {{ now.Year }} {{ .Site.Title }}</span>
|
||
<span>·</span>
|
||
<span>Powered by <a href="https://gohugo.io/" target="_blank">Hugo️️</a>️</span>
|
||
<span>·</span>
|
||
<span>Designed by <a href="http://21beats.com/" target="_blank">️21beats️</a>️</span>
|
||
</footer>
|
||
<script src="{{.Site.BaseURL}}js/instantclick.min.js" data-no-instant></script>
|
||
<script data-no-instant>InstantClick.init();</script>
|
||
<script src="{{.Site.BaseURL}}js/highlight.min.js" data-no-instant></script>
|
||
<script data-no-instant>
|
||
hljs.initHighlightingOnLoad();
|
||
addMenuListener();
|
||
InstantClick.on('change', function() {
|
||
var blocks = document.querySelectorAll('pre code');
|
||
for (var i = 0; i < blocks.length; i++) {
|
||
hljs.highlightBlock(blocks[i]);
|
||
}
|
||
addMenuListener();
|
||
});
|
||
function addMenuListener() {
|
||
var $toggle = document.querySelector('.menu-toggle');
|
||
var $body = document.querySelector('body');
|
||
$toggle.addEventListener('click', function() {
|
||
$body.classList.toggle('noscroll');
|
||
}, false);
|
||
}
|
||
</script>
|
||
</body>
|
||
</html>
|