vegan-prestwich/_includes/place-json-ld.liquid

21 lines
776 B
Plaintext
Raw Normal View History

2022-11-28 04:33:45 +00:00
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "LocalBusiness",
"name": "{{ name }}",
2022-11-28 04:36:02 +00:00
{%- if email -%}"email": "{{ email }}",{%- endif -%}
{%- if phone -%}"telephone": "{{ phone }}",{%- endif -%}
{%- if web -%}"url": "{{ web }}",{%- endif -%}
{%- if facebook -%} "sameAs": [
{%- if facebook -%}"{{ facebook }}"{%- endif -%}
],{%- endif -%}
{%- if google -%}"hasMap": "{{ google }}",{%- endif -%}
2022-11-28 04:33:45 +00:00
"address": {
"@type": "PostalAddress",
"streetAddress": "{{ address}}",
"addressLocality": "Prestwich",
"addressRegion": "Manchester",
"postalCode": "{{ postcode }}"
}
}
</script>