feat: strengthen operator template and localized SEO UX
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
Alpine (when present) layers single-open accordion behaviour on top via
|
||||
x-bind:open + the native `toggle` event — never hiding content with
|
||||
x-cloak. The FAQPage JSON-LD is emitted separately by schema-jsonld.html. */ -}}
|
||||
{{- $faqs := sort .Site.Data.faq "weight" -}}
|
||||
{{- $faqKey := printf "faq.%s" .Language.Lang -}}
|
||||
{{- $faqs := index .Site.Data $faqKey -}}
|
||||
{{- if not $faqs -}}{{- $faqs = .Site.Data.faq -}}{{- end -}}
|
||||
{{- $faqs = sort $faqs "weight" -}}
|
||||
<div class="mx-auto max-w-3xl divide-y divide-secondary/10 rounded-xl border border-secondary/10" x-data="{ open: null }">
|
||||
{{- range $i, $f := $faqs -}}
|
||||
<details class="group"
|
||||
|
||||
Reference in New Issue
Block a user