AMPERION_Webpage/layouts/partials/ld-org.html

27 lines
1 KiB
HTML
Raw Permalink Normal View History

2025-09-08 01:15:11 +02:00
{{- /* Organization JSON-LD — robust, nur Felder ausgeben, die vorhanden sind */ -}}
{{- $logo := site.Params.logo | default site.Params.favicon | default site.Params.image | default "images/logo.webp" -}}
{{- $email := site.Params.email | default "" -}}
{{- $phone := site.Params.phone1 | default site.Params.phone | default "" -}}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "AMPERION GmbH",
"url": {{ "/" | absURL | jsonify }},
"logo": {{ ($logo | relURL | absURL) | jsonify }},
"sameAs": [
"https://www.linkedin.com/company/amperion-gmbh/",
"https://www.instagram.com/amperion.at/",
"https://www.facebook.com/share/1CZ7xm6cdw/?mibextid=wwXIfr"
]{{ if or $email $phone }},
"contactPoint": [{
"@type": "ContactPoint",
"contactType": "customer service"{{ if $phone }},
"telephone": {{ $phone | jsonify }}{{ end }}{{ if $email }},
"email": {{ $email | jsonify }}{{ end }},
"areaServed": "AT"
}]{{ end }}
}
</script>