{{ $id := .Get 0 | default "id" }} {{ $align := .Get "align" | default "left" }} {{ $group := .Page.Scratch.Get "tabGroupIndex" | default 0 }} {{ $index := .Page.Scratch.Set "tabElementIndex" 0 }}
{{ .Inner }}
{{ .Page.Scratch.Set "tabGroupIndex" (add 1 $group) }}