{{$title := .Site.Title}}{{$description := .Site.Description}}{{$keywords := .Site.Keywords}}{{$canonical := ""}}{{if .Content}}{{$title = printf "%s · 步序" .Content.Title}}{{$description = .Content.Description}}{{with index .Content.Ext "seo_keywords"}}{{$keywords = .}}{{end}}{{if .Site.URL}}{{$canonical = url .Site.URL .Content.URL}}{{else}}{{$canonical = .Content.URL}}{{end}}{{else if .CurrentColumn}}{{$title = printf "%s · 步序" .CurrentColumn.Title}}{{$description = .CurrentColumn.Description}}{{if .Site.URL}}{{$canonical = url .Site.URL .CurrentColumn.URL}}{{else}}{{$canonical = .CurrentColumn.URL}}{{end}}{{else if eq .Type "home"}}{{if .Site.URL}}{{$canonical = url .Site.URL (page_url "")}}{{else}}{{$canonical = page_url ""}}{{end}}{{end}}{{$title}}{{if $keywords}}{{end}}{{if $canonical}}{{end}}{{if or (eq .Type "search") (eq .Type "shop_page") (eq .Type "404")}}{{end}}