{{ define "main" }} {{ .Render "header" }}
{{ .Content }}
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }} {{ $coauthor := index .Site.Data.authors ( .Params.coauthor | default "" ) }}
{{ if $author }} {{ end }} {{ if $coauthor }} {{ end }} {{ if and $author $coauthor }}

Written by {{ $author.name }} and {{ $coauthor.name }} on {{ .Date.Format "Monday January 02, 2006" }}

{{ else if $author }}

Written by {{ $author.name }} on {{ .Date.Format "Monday January 02, 2006" }}

{{ else }}

No author was provided. Written on {{ .Date.Format "Monday January 02, 2006" }}

{{ end }}
{{ if .Params.forum }}
{{ end }} {{ end }}