163fa2d3f1
Thanks to Joseph Silber https://stackoverflow.com/a/7717572
22 lines
951 B
HTML
22 lines
951 B
HTML
<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();
|
||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||
anchor.addEventListener("click", function (e) {
|
||
e.preventDefault();
|
||
|
||
document.querySelector(this.getAttribute("href")).scrollIntoView({
|
||
behavior: "smooth"
|
||
});
|
||
});
|
||
});
|
||
</script> |