Files
George Cushen f4280ddb1c refactor: rename modules and update migration docs
BREAKING CHANGE
Module paths moved to `github.com/HugoBlox/kit` with new names:
- core `blox-tailwind` → `blox`
- analytics → `analytics`
- netlify → `integrations/netlify`
- slides (reveal) → `slides`
Update go.mod, module.yaml/params, scripts, tests, and v0.11 migration guide accordingly.
2026-01-02 20:59:48 +00:00

32 lines
1.3 KiB
HTML

{{- $sharing_image := resources.GetMatch (path.Join "media" "sharing.*") -}}
{{- $branding := partialCached "functions/get_branding" . "branding" -}}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": {{site.Params.hugoblox.identity.type | humanize | default "Organization"}},
"@id": {{site.BaseURL}},
"name": {{$branding.organization}},
"logo": {{ partial "functions/get_logo_url" . }},
{{with $sharing_image}}"image": {{.Permalink}},{{end}}
{{ if (eq site.Params.hugoblox.identity.type "local_business") | and site.Params.hugoblox.seo.location.coordinates }}
"geo": {
"@type": "GeoCoordinates",
"latitude": {{site.Params.hugoblox.seo.location.coordinates.latitude}},
"longitude": {{site.Params.hugoblox.seo.location.coordinates.longitude}}
},
{{end}}
{{ with site.Params.hugoblox.seo.location.address }}
"address": {
"@type": "PostalAddress",
"streetAddress": {{ .street | default "" }},
"addressLocality": {{ .city | default "" }},
"addressRegion": {{ .region | default "" }},
"postalCode": {{ .postal_code | default "" }},
"addressCountry": {{ .country | default "" }}
},
{{end}}
{{ with site.Params.hugoblox.seo.location.phone }}"telephone": {{.}},{{end}}
"url": {{site.BaseURL}}
}
</script>