mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
27 lines
960 B
HTML
27 lines
960 B
HTML
</main>
|
||
<footer class="footer">
|
||
<span>© {{ now.Year }} {{ .Site.Title }}</span>
|
||
<span>·</span>
|
||
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
|
||
<span>·</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>
|