2018-01-08 11:28:39 -05:00
|
|
|
|
</main>
|
|
|
|
|
<footer class="footer">
|
2019-06-10 13:18:00 -04:00
|
|
|
|
<span>© {{ now.Year }} <a href="{{ "" | absURL }}">{{ .Site.Title }}</a></span>
|
2018-01-08 11:28:39 -05:00
|
|
|
|
<span>·</span>
|
2018-09-28 08:15:19 -04:00
|
|
|
|
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
|
2018-01-08 11:28:39 -05:00
|
|
|
|
<span>·</span>
|
2019-04-28 06:24:02 -04:00
|
|
|
|
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
|
2018-01-08 11:28:39 -05:00
|
|
|
|
</footer>
|
2019-06-09 18:44:46 -04:00
|
|
|
|
<script src="{{ "js/instantclick.min.js" | absURL }}" data-no-instant></script>
|
2018-01-08 11:28:39 -05:00
|
|
|
|
<script data-no-instant>InstantClick.init();</script>
|
2019-06-09 18:44:46 -04:00
|
|
|
|
<script src="{{ "js/highlight.min.js" | absURL }}" data-no-instant></script>
|
2018-01-08 11:28:39 -05:00
|
|
|
|
<script data-no-instant>
|
2019-06-09 18:44:46 -04:00
|
|
|
|
let body;
|
|
|
|
|
function menuToggleListener() {
|
2019-06-10 15:18:37 -04:00
|
|
|
|
body.classList.toggle('blur');
|
2019-06-09 18:44:46 -04:00
|
|
|
|
}
|
|
|
|
|
function setMenuToggleListener() {
|
|
|
|
|
const menuToggle = document.querySelector('.menu-toggle');
|
2019-06-13 09:00:32 -04:00
|
|
|
|
if (!menuToggle) return;
|
2019-06-09 18:44:46 -04:00
|
|
|
|
body = document.querySelector('body');
|
|
|
|
|
menuToggle.addEventListener('click', menuToggleListener);
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-31 08:32:06 -04:00
|
|
|
|
hljs.initHighlightingOnLoad();
|
2019-06-09 18:44:46 -04:00
|
|
|
|
setMenuToggleListener();
|
2019-03-31 08:32:06 -04:00
|
|
|
|
|
2019-06-09 18:44:46 -04:00
|
|
|
|
InstantClick.on('change', function () {
|
2019-03-31 08:32:06 -04:00
|
|
|
|
document.querySelectorAll('pre code').forEach((block) => {
|
|
|
|
|
hljs.highlightBlock(block);
|
|
|
|
|
});
|
2019-06-09 18:44:46 -04:00
|
|
|
|
setMenuToggleListener();
|
2018-01-08 11:28:39 -05:00
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
2018-03-13 02:31:10 -04:00
|
|
|
|
</html>
|