Update jsonld
This commit is contained in:
parent
7f5fc010a7
commit
ea5f3f8ad7
|
|
@ -10,12 +10,14 @@
|
|||
"faxNumber": {{ . | jsonify }}
|
||||
{{- end -}},
|
||||
"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 }},
|
||||
"priceRange": "$$$",
|
||||
"geo": {
|
||||
"@type": "GeoCoordinates",
|
||||
"latitude" {{ .contact.geo.lat }},
|
||||
"longitude" {{ .contact.geo.lon }}
|
||||
"latitude": {{ .contact.geo.lat }},
|
||||
"longitude": {{ .contact.geo.lon }}
|
||||
}
|
||||
{{ with .contact.social }}
|
||||
{{- $social := slice -}}
|
||||
|
|
@ -28,7 +30,7 @@
|
|||
{{- with .twitter }}
|
||||
{{- $social = $social | append . }}
|
||||
{{- end }}
|
||||
,"sameAs: {{ jsonify $social }}
|
||||
,"sameAs": {{ jsonify $social }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue