hugo-theme-wondermod/layouts/partials/footer.html

27 lines
960 B
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

</main>
<footer class="footer">
<span>&copy; {{ now.Year }} {{ .Site.Title }}</span>
<span>&middot;</span>
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo</a></span>
<span>&middot;</span>
<span>Designed by <a href="http://21beats.com/" rel="noopener" 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>
addMenuListener();
InstantClick.on('change', function() {
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>