{{ $page := . }} {{ $copyright := site.Copyright | markdownify }} {{ $credit := $page.Param "paige.credit" }} {{ $first := templates.Exists "partials/paige/footer-first.html" }} {{ $last := templates.Exists "partials/paige/footer-last.html" }} {{ $theme := "https://github.com/willfaught/paige" }} {{ $license := $page.Param "paige.license" | markdownify }} {{ $target := partial "paige/target.html" (dict "page" $page "url" $theme) }} {{ if eq $credit nil }} {{ $credit = `Paige Theme` | markdownify }} {{ else }} {{ $credit = markdownify $credit }} {{ end }} {{ if or $copyright $credit $first $last $license }} {{ end }}