You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {{- $title := .Title -}}
- {{- $siteTitle := .Site.Title -}}
- {{- $authorName := .Site.Author.name -}}
- {{- $sep := ( .Site.Params.SEO.titleSeparator | default "•" ) -}}
- {{- if .IsHome -}}
- {{ $siteTitle }}
- {{- else if eq .Kind "taxonomy" -}}
- {{ title .Data.Singular }}: {{ $title }} {{ $sep }} {{ $siteTitle }}
- {{- else if ( or .IsNode ( eq .Section "page" ) ) -}}
- {{ $title }} {{ $sep }} {{ $siteTitle }}
- {{- else -}}
- {{- with $authorName -}}
- {{ $title }} {{ $sep }} {{ . }}
- {{- else -}}
- {{ $title }} {{ $sep }} {{ $siteTitle }}
- {{- end -}}
- {{- end -}}
|