PaperModX/layouts/partials/footer.html

26 lines
906 B
HTML
Raw Normal View History

2018-01-08 16:28:39 +00:00
</main>
<footer class="footer">
2018-08-15 18:22:33 +01:00
<span>&copy; {{ now.Year }} {{ .Site.Title }}</span>
2018-01-08 16:28:39 +00:00
<span>&middot;</span>
2018-09-28 13:15:19 +01:00
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo</a></span>
2018-01-08 16:28:39 +00:00
<span>&middot;</span>
2018-09-28 13:15:19 +01:00
<span>Designed by <a href="http://21beats.com/" rel="noopener" target="_blank">21beats</a></span>
2018-01-08 16:28:39 +00:00
</footer>
<script src="https://cdn.bootcss.com/instantclick/3.0.1/instantclick.min.js" data-no-instant></script>
<script data-no-instant>InstantClick.init();</script>
<script data-no-instant>
2018-07-05 19:45:58 +01:00
addMenuListener();
2018-01-08 16:28:39 +00:00
InstantClick.on('change', function() {
2018-07-05 19:45:58 +01:00
addMenuListener();
2018-01-08 16:28:39 +00:00
});
2018-07-05 19:45:58 +01:00
function addMenuListener() {
2018-01-08 16:28:39 +00:00
var $toggle = document.querySelector('.menu-toggle');
var $body = document.querySelector('body');
$toggle.addEventListener('click', function() {
$body.classList.toggle('noscroll');
}, false);
}
</script>
</body>
2018-03-13 06:31:10 +00:00
</html>