A tumblelog theme for Hugo
25개 이상의 토픽을 선택하실 수 없습니다.
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 -}}
|