{{ define "main" }} {{ $text := .Content }} {{ with (index .Site.Data.personen (substr $.File.LogicalName 0 -3)) }} {{ if .thumbnail }}{{ end }} {{ $text }}