{{$title := .Site.Title}}{{$desc := .Site.Description}}{{$canonical := ""}}{{if .Content}}{{$title = printf "%s · 灶边存帖" .Content.Title}}{{$desc = .Content.Description}}{{if .Site.URL}}{{$canonical = url .Site.URL .Content.URL}}{{end}}{{else if .CurrentColumn}}{{$title = .CurrentColumn.Title}}{{$desc = .CurrentColumn.Description}}{{if and .Site.URL .Pager}}{{if le .Pager.Current 1}}{{$canonical = url .Site.URL .CurrentColumn.URL}}{{end}}{{end}}{{else if .Single}}{{$title = .Single.Title}}{{else if and (eq .Type "home") .Site.URL}}{{$canonical = url .Site.URL (page_url "")}}{{end}}