{{$title := .Site.Title}}{{$desc := .Site.Description}}{{$canonical := ""}}{{with .Content}}{{$title = printf "%s | Paper / Practice" .Title}}{{$desc = .Description}}{{if $.Site.URL}}{{$canonical = url $.Site.URL .URL}}{{end}}{{else}}{{with .CurrentColumn}}{{$title = printf "%s | Paper / Practice" .Name}}{{if and $.Site.URL $.Pager}}{{if le $.Pager.Current 1}}{{$canonical = url $.Site.URL .URL}}{{end}}{{end}}{{end}}{{end}}{{if and (eq .Type "home") .Site.URL}}{{$canonical = url .Site.URL (page_url "")}}{{end}}