2020-07-21 11:06:30 +01:00
|
|
|
|
<footer class="footer">
|
|
|
|
|
<span>© {{ now.Year }} <a href="{{ "" | absURL }}">{{ .Site.Title }}</a></span>
|
|
|
|
|
<span>·</span>
|
|
|
|
|
<span>Powered by <a href="https://gohugo.io/" rel="noopener" target="_blank">Hugo️️</a>️</span>
|
|
|
|
|
<span>·</span>
|
|
|
|
|
<span>Theme️ <a href="https://github.com/adityatelange/hugo-PaperMod" rel="noopener"
|
|
|
|
|
target="_blank">PaperMod</a></span>
|
|
|
|
|
</footer>
|
|
|
|
|
{{ $highlight := resources.Get "js/highlight.min.js" | minify | fingerprint}}
|
|
|
|
|
<script src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"></script>
|
|
|
|
|
<script>
|
|
|
|
|
hljs.initHighlightingOnLoad();
|
2020-07-24 19:25:44 +01:00
|
|
|
|
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
|
|
|
|
anchor.addEventListener("click", function (e) {
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
|
|
|
|
|
document.querySelector(this.getAttribute("href")).scrollIntoView({
|
|
|
|
|
behavior: "smooth"
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
2020-07-21 11:06:30 +01:00
|
|
|
|
</script>
|