6
0
Fork 0

Uitbreiden met meerdere velden

This commit is contained in:
Michael Boelen 2023-06-22 14:29:28 +02:00
parent af82de5599
commit ad9266d8eb

View file

@ -44,6 +44,15 @@
"name": "{{ .Params.event_location }}" "name": "{{ .Params.event_location }}"
}, },
{{ end }} {{ end }}
{{ with .Params.event_images -}}
"image": [
{{- range $index, $element := . -}}
{{- if ne $index 0 -}}, {{ end }}
{{ $image := resources.Get $element -}}
{{ $image.Permalink -}}
{{- end }}
],
{{ end -}}
"mainEntityOfPage": { "mainEntityOfPage": {
"@type": "Webpage", "@type": "Webpage",
"@id": "{{ .Permalink }}#webpage", "@id": "{{ .Permalink }}#webpage",