{{- /* faq-accordion.html — accordion over data/faq.yaml (sorted by weight). Progressive enhancement: each item is a native
/, so every answer is fully readable and keyboard-operable with NO JavaScript. 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. */ -}} {{- $faqKey := printf "faq.%s" .Language.Lang -}} {{- $faqs := index .Site.Data $faqKey -}} {{- if not $faqs -}}{{- $faqs = .Site.Data.faq -}}{{- end -}} {{- $faqs = sort $faqs "weight" -}}
{{- range $i, $f := $faqs -}}
{{ $f.question }}

{{ $f.answer }}

{{- with $f.category }}

{{ . }}

{{ end -}}
{{- end -}}