{{ define "seo" }} {{ .Title }} {{ if .Content.Cover.Img }} {{ if .Content.File }} {{ if (hasThumbnail .Content.File) }} {{ else }} {{ end }} {{ else }} {{ end }} {{ else }} {{ end }} {{ end }}