{{ if (isset .Params "next") }}
<a href="/{{ .Params.next }}" class="next">→</a>
{{ end }}
<footer>
    <p>&copy; <a href="{{ .Site.Params.home }}">{{ .Site.Params.author }}</a> {{ .Site.Params.copyright }}</p>
</footer>
<script src="/js/footnotes.js"></script>
{{ range .Site.Params.customJS }}
    <script src="{{ . }}"></script>
{{ end }}
