forked from laurens/fediversity_website
Uitbreiden met meerdere velden
This commit is contained in:
parent
af82de5599
commit
ad9266d8eb
|
@ -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",
|
||||||
|
|
Reference in a new issue