{{ $page := . }} {{ $copyright := site.Copyright }} {{ $first := templates.Exists "partials/paige/footer-first.html" }} {{ $last := templates.Exists "partials/paige/footer-last.html" }} {{ $showlink := not site.Params.paige.hide_theme_link }} {{ if or $copyright $first $last $showlink }} {{ end }}