7
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 }}"
},
{{ end }}
{{ with .Params.event_images -}}
"image": [
{{- range $index, $element := . -}}
{{- if ne $index 0 -}}, {{ end }}
{{ $image := resources.Get $element -}}
{{ $image.Permalink -}}
{{- end }}
],
{{ end -}}
"mainEntityOfPage": {
"@type": "Webpage",
"@id": "{{ .Permalink }}#webpage",