{{ $page := . }} {{ $copyright := site.Copyright | markdownify }} {{ $href := "https://github.com/willfaught/paige" }} {{ $fileediturl := $page.Param "paige.file_edit_url" }} {{ $target := partial "paige/target.html" (dict "page" $page "url" $href) }} {{ if and $fileediturl $page.File }} {{ $fileediturl = printf $fileediturl $page.File.Path }} {{ end }}