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 }}"
|
||||
},
|
||||
{{ 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",
|
||||
|
|
Reference in a new issue