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