forked from neff/neff-steindesign.de
Update jsonld
This commit is contained in:
parent
7f5fc010a7
commit
ea5f3f8ad7
|
|
@ -10,12 +10,14 @@
|
||||||
"faxNumber": {{ . | jsonify }}
|
"faxNumber": {{ . | jsonify }}
|
||||||
{{- end -}},
|
{{- end -}},
|
||||||
"address": {{ partial "schema/address.jsonld" (dict "address" .contact.address "ctx" .ctx)}},
|
"address": {{ partial "schema/address.jsonld" (dict "address" .contact.address "ctx" .ctx)}},
|
||||||
"logo": {{ partial "schema/image.jsonld" (dict "url" "/img/logo.svg" "ctx" .ctx) }}
|
"logo": {{ partial "schema/image.jsonld" (dict "url" "/img/logo.png" "ctx" .ctx) }},
|
||||||
|
"image": {{ partial "schema/image.jsonld" (dict "url" "/img/logo.png" "ctx" .ctx) }},
|
||||||
"openingHours": {{ jsonify .contact.openingHours }},
|
"openingHours": {{ jsonify .contact.openingHours }},
|
||||||
|
"priceRange": "$$$",
|
||||||
"geo": {
|
"geo": {
|
||||||
"@type": "GeoCoordinates",
|
"@type": "GeoCoordinates",
|
||||||
"latitude" {{ .contact.geo.lat }},
|
"latitude": {{ .contact.geo.lat }},
|
||||||
"longitude" {{ .contact.geo.lon }}
|
"longitude": {{ .contact.geo.lon }}
|
||||||
}
|
}
|
||||||
{{ with .contact.social }}
|
{{ with .contact.social }}
|
||||||
{{- $social := slice -}}
|
{{- $social := slice -}}
|
||||||
|
|
@ -28,7 +30,7 @@
|
||||||
{{- with .twitter }}
|
{{- with .twitter }}
|
||||||
{{- $social = $social | append . }}
|
{{- $social = $social | append . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
,"sameAs: {{ jsonify $social }}
|
,"sameAs": {{ jsonify $social }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue