{{ $title := cond .IsHome .Site.Title (printf "%s" (partial "kanji.html" .Title) | printf "%s%s" (cond (and (eq .Kind "term") (eq .Data.Singular "tag")) "#" "") | printf "%s") }} {{ with .Resources.GetMatch "{cover.*,*.jpg,*.png,*.jpeg}" }} {{ with .Permalink | absURL }} {{ end }} {{ end }} {{ with .Params.description }} {{ end }} {{ if eq .Kind "page" }} {{ if isset .Site.Params "soudanurl" }} {{ end }} {{ with .PublishDate }} {{ end }} {{ with .Lastmod }} {{ end }} {{ with .ExpiryDate }} {{ end }} {{ with .Params.tags }} {{ range . }} {{ end }} {{ end }} {{ with .Site.Params.AuthorProfile }} {{ end }} {{ end }} {{ with .Site.Params.Author }} {{ end }} {{ with .Site.Params.SiteTwitter }} {{ end }} {{ with .Site.Params.AuthorTwitter }} {{ end }} {{ with .Site.Params.ThemeColor }} {{ end }} {{ if .Site.Params.Soudan }} {{ end }} {{ if .Site.Params.Stork }} {{ end }} {{ if isset .Site.Params "matomositeid" }} {{ end }} {{ if isset .Site.Params "soudanurl" }} {{ end }} {{ $title }}{{ if not .IsHome }} - {{ .Site.Title }}{{ end }}