{{ $page := . }} {{ $copyright := site.Copyright | markdownify | and ($page.Param "paige.site.disable_copyright" | not) }} {{ $credit := $page.Param "paige.site.credit" }} {{ $first := templates.Exists "partials/paige/footer-first.html" }} {{ $last := templates.Exists "partials/paige/footer-last.html" }} {{ $license := $page.Param "paige.site.license" | markdownify | and ($page.Param "paige.site.disable_license" | not) }} {{ $microdata := $page.Params.paige.pages.microdata }} {{ if $credit }} {{ $credit = markdownify $credit }} {{ else }} {{ $credit = `Paige Theme` | safeHTML }} {{ end }} {{ $credit = $credit | and ($page.Param "paige.site.disable_credit" | not) }} {{ if or $copyright $credit $first $last $license }} {{ end }}