{{ define "threadHeadContent" }} {{ if .Image }} <img src="data:image/png;base64,{{ .Image }}" alt="anon-image" width="180" /> {{ end }} <h2>{{ .AuthorId }} - {{ .AuthorName }} - {{ dateTimeToString .CreatedAt }}</h2> <h3>{{ .Title }}</h3> <blockquote>{{ .Body }}</blockquote> {{ end }}