2018-01-08 17:28:39 +01:00
|
|
|
|
</main>
|
|
|
|
|
<footer class="footer">
|
|
|
|
|
<span>© {{ if eq now.Year 2017 }}2017{{ else }}2017-{{ now.Year }}{{ end }} {{ .Site.Title }} 🎉</span>
|
|
|
|
|
<span>·</span>
|
|
|
|
|
<span>Powered by <a href="https://gohugo.io/" target="_blank">Hugo❤️️</a></span>
|
|
|
|
|
</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 src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js" data-no-instant></script>
|
|
|
|
|
<script data-no-instant>
|
|
|
|
|
hljs.initHighlightingOnLoad();
|
|
|
|
|
menuToggle();
|
|
|
|
|
InstantClick.on('change', function() {
|
|
|
|
|
var blocks = document.querySelectorAll('pre code');
|
|
|
|
|
for (var i = 0; i < blocks.length; i++) {
|
|
|
|
|
hljs.highlightBlock(blocks[i]);
|
|
|
|
|
}
|
|
|
|
|
menuToggle();
|
|
|
|
|
});
|
|
|
|
|
function menuToggle() {
|
|
|
|
|
var $toggle = document.querySelector('.menu-toggle');
|
|
|
|
|
if (!$toggle.offsetParent) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
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>
|