diff --git a/layouts/partials/bootstrap/accordion.html b/layouts/partials/bootstrap/accordion.html index 599e3cc..5785abe 100644 --- a/layouts/partials/bootstrap/accordion.html +++ b/layouts/partials/bootstrap/accordion.html @@ -25,14 +25,14 @@ {{- else if eq $items false }} {{- warnf `[bootstrap][accordion] the data file is missing: %s.` $data }} {{- else }} - {{- $id := printf "accordion-%d-%s" .Ordinal $data }} + {{- $id := printf "accordion-%d-%s" .Ordinal $data | anchorize }}
{{- $first := true }} {{- range $name, $item := sort $items "weight" }} {{- $show := cond (isset . "show") .show $first }} - {{- $itemID := printf "%s-%d" $id $name }} + {{- $itemID := printf "%s-%d" $id $name | anchorize }}