{{ $page := . }}

<footer class="mb-3" id="paige-footer">
    {{ if templates.Exists "partials/paige/footer-first.html" }}
        {{ partial "paige/footer-first.html" . }}
    {{ end }}

    {{ with site.Copyright | markdownify }}
        <p class="mb-0 text-center text-secondary" id="paige-copyright">{{ . }}</p>
    {{ end }}

    <p class="mb-0 text-center" id="paige-credit">
        <a class="link-secondary text-decoration-none" href="https://github.com/willfaught/paige">Paige Theme</a>
    </p>

    {{ if templates.Exists "partials/paige/footer-last.html" }}
        {{ partial "paige/footer-last.html" . }}
    {{ end }}
</footer>
