{{ $page := . }} {{ $copyright := site.Copyright }} {{ $credit := $page.Param "paige.hide_credit_link" | not }} {{ $first := templates.Exists "partials/paige/footer-first.html" }} {{ $last := templates.Exists "partials/paige/footer-last.html" }} {{ if or $copyright $credit $first $last }} {{ end }}