Files
hugo-theme-minos/layouts/partials/footer.html
2017-02-20 21:45:37 +01:00

25 lines
1.5 KiB
HTML

<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
&copy; {{ .Now.Format "2006"}} {{ or .Site.Author .Site.Title }}&nbsp;
Powered by <a href="https://gohugo.io" target="_blank">Hugo</a> with theme <a href="https://github.com/carsonip/hugo-theme-minos">Minos</a>
</div>
</div>
{{ template "_internal/google_analytics_async.html" . }}
{{ if .Site.Params.Katex }}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" integrity="sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.js" integrity="sha384-/y1Nn9+QQAipbNQWU65krzJralCnuOasHncUFXGkdwntGeSvQicrYkiUBwsgUqc1" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/contrib/auto-render.min.js" integrity="sha256-ExtbCSBuYA7kq1Pz362ibde9nnsHYPt6JxuxYeZbU+c=" crossorigin="anonymous"></script>
<script>renderMathInElement(document.body);</script>
{{ end }}
<script>
document.getElementById('main-nav-toggle').addEventListener('click', function () {
var header = document.getElementById('header');
if (header.classList.contains('mobile-on')) {
header.classList.remove('mobile-on');
} else {
header.classList.add('mobile-on');
}
});
</script>
</footer>