7
0
Fork 0

Lengte aanpassen ivm bestandsextensie RST (-4) en MD (-3)

This commit is contained in:
Michael Boelen 2023-06-05 09:52:10 +02:00
parent 0c76a1300a
commit 313ab4ed28

View file

@ -1,6 +1,6 @@
{{ define "main" }} {{ define "main" }}
{{ $text := .Content }} {{ $text := .Content }}
{{ with (index .Site.Data.personen (substr $.File.LogicalName 0 -4)) }} {{ with (index .Site.Data.personen (substr $.File.LogicalName 0 -3)) }}
{{ if .thumbnail }}<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}">{{ end }} {{ if .thumbnail }}<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}">{{ end }}
{{ $text }} {{ $text }}
<h3>Contact</h3> <h3>Contact</h3>