{{ define "main" }} {{ partial "page-title.html" . }} {{ if .Params.photo -}} {{ else if .Params.email -}} {{- end }} {{ .Params.name }} {{ .Content }} {{ range .Params.social -}} {{- end }} {{ i18n "posted_by" }} {{ .Title }} {{ range (union (where site.RegularPages "Params.author" "intersect" (slice .Title)) (where site.RegularPages "Params.author" .Title)) -}} {{ if isset .Params "image" -}} {{- end }} {{ .Title }} {{ time.Format ":date_long" .PublishDate }} {{ i18n "posted_by" }} {{ $authors := slice }}{{ if reflect.IsSlice .Params.author }}{{ $authors = .Params.author }}{{ else }}{{ $authors = (slice .Params.author) }}{{ end -}} {{ range $index, $elements := $authors }}{{ if ne $index 0 }}, {{ end }}{{ . }}{{ end }} {{ range $index, $elements:= .Params.tags }}{{ if ne $index 0 }}, {{ end }}{{ . }}{{ end }} {{ .Summary }} {{ i18n "read_more" }} {{- end }} {{ end }}
{{ .Summary }}