  {{- end -}}
            </li>
            {{- end -}}
        </ul>
        <div class="tab-content">
            {{- range $i, $v := $faq -}}
            <div class="tab-pane fade{{ if eq $i 0}} show active{{ end }}" id="faq-{{ $i }}-pane" role="tabpanel" aria-labelledby="faq-{{ $i }}-tab">
                <div class="accordion" id="faq-{{ $i }}">
                {{- $title := .title -}}
                {{- range $j, $v := .questions }}
                    {{- $id := printf "faq-%d-%d" $i $j -}}
        