{{- $params := site.Params }} {{- $separator := default "|" $params.titleSeparator }} {{- $title := "" }} {{- if and .Title (ne (trim (lower .Site.Title) "") (trim (lower .Title) "")) }} {{- if eq .Kind "taxonomy" }} {{- $title = default .Title ( T (lower .Title) ) }} {{- else }} {{- $title = .Title }} {{- end }} {{- end }}