{{ define "main" }}
{{ $icon_size := 20 }}
{{ $text := .Content }}
{{ $date := .Date.Format "02-01-2006" }}
{{ $lastmod := .Lastmod.Format "02-01-2006" }}
{{ if isset .Params "author" }}
{{ $author := index .Site.Data.authors .Params.author }}
Gepubliceerd op {{ $date }} door {{ $author.name }}.{{ if gt .Params.lastmod .Params.date }} Artikel bijgewerkt op {{ $lastmod }}{{ end }}
{{ else }}
{{ $author := .Site.Params.author }}
Gepubliceerd op {{ $date }} door {{ .Site.Params.author }}.{{ if gt .Params.lastmod .Params.date }} Artikel bijgewerkt op {{ $lastmod }}{{ end }}
{{ end }}
{{ $text }}
{{ if .Params.signed_by }}{{ .Params.signed_by }}{{ end }}
{{ if .Params.related_members }}
{{ .Scratch.Set "related_members" .Params.related_members }}
{{ partial "show-related-members.html" . }}
{{ end }}
{{ if .Params.related_persons }}
{{ .Scratch.Set "related_members" .Params.related_persons }}
{{ partial "show-related-members.html" . }}
{{ end }}
{{ end }}