1
0
Fork 0
hugo-paper/layouts/partials/footer.html

27 lines
960 B
HTML
Raw Normal View History

2018-01-08 17:28:39 +01:00
</main>
<footer class="footer">
2018-08-15 19:22:33 +02:00
<span>&copy; {{ now.Year }} {{ .Site.Title }}</span>
2018-01-08 17:28:39 +01:00
<span>&middot;</span>
2018-09-28 14:15:19 +02:00
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo</a></span>
2018-01-08 17:28:39 +01:00
<span>&middot;</span>
2018-09-28 14:15:19 +02:00
<span>Designed by <a href="http://21beats.com/" rel="noopener" target="_blank">21beats</a></span>
2018-01-08 17:28:39 +01:00
</footer>
2018-10-31 06:42:53 +01:00
<script src="{{.Site.BaseURL}}js/instantclick.min.js" data-no-instant></script>
2018-01-08 17:28:39 +01:00
<script data-no-instant>InstantClick.init();</script>
2018-10-31 06:42:53 +01:00
<script src="{{.Site.BaseURL}}js/highlight.min.js" data-no-instant></script>
2018-01-08 17:28:39 +01:00
<script data-no-instant>
2018-07-05 20:45:58 +02:00
addMenuListener();
2018-01-08 17:28:39 +01:00
InstantClick.on('change', function() {
2018-07-05 20:45:58 +02:00
addMenuListener();
2018-01-08 17:28:39 +01:00
});
2018-07-05 20:45:58 +02:00
function addMenuListener() {
2018-01-08 17:28:39 +01: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 07:31:10 +01:00
</html>