26 lines
942 B
Plaintext
26 lines
942 B
Plaintext
<script type="application/ld+json">
|
|
{
|
|
"@context": "http://schema.org",
|
|
"@type": "LocalBusiness",
|
|
"name": "{{ name }}",
|
|
{%- if email -%}"email": "{{ email }}",{%- endif -%}
|
|
{%- if phone -%}"telephone": "{{ phone }}",{%- endif -%}
|
|
{%- if web -%}"url": "{{ web }}",{%- endif -%}
|
|
{%- if facebook || instagram -%} "sameAs": [
|
|
{%- if facebook -%}"{{ facebook }}"{%- endif -%}
|
|
{%- if facebook and instagram -%},{%- endif -%}
|
|
{%- if instagram -%}"{{ instagram }}"{%- endif -%}
|
|
],{%- endif -%}
|
|
{%- if google -%}"hasMap": "{{ google }}"{%- endif -%}
|
|
{%- if address -%}
|
|
, "address": {
|
|
"@type": "PostalAddress",
|
|
"streetAddress": "{{ address}}",
|
|
"addressLocality": "Prestwich",
|
|
"addressRegion": "Manchester",
|
|
"postalCode": "{{ postcode }}"
|
|
}
|
|
{%- endif -%}
|
|
}
|
|
</script>
|