blob: fff4530721ec9c6822cd738948904f2a6f3e7dda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{{- $author := index .Site.Data.authors .Section -}}
{{- if not (eq .Title $.Site.Title) -}}
{{- with $title := or .Title .Summary -}}
{{ $title }} —
{{ end }}
{{- end -}}
{{- with $title := $.Site.Title -}}
{{- if (in (slice
"home"
"taxonomy"
"term"
) $.Page.Kind)
-}}
{{ $title }}
{{- else -}}
{{ $author.title }}
{{- end -}}
{{- end -}}
|