blob: 99f027b9f0ec93213353523fee5049e96f04ccc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{{ $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.title) | default "default") }}
{{- if not (eq .Title $.Site.Title) -}}
{{- with or .Title .Summary -}}
{{ . }} —
{{ end }}
{{- end -}}
{{- with $.Site.Title -}}
{{ if $.IsHome -}}
{{ . }}
{{- else -}}
{{ $author.blogtitle }}
{{- end -}}
{{- end -}}
|