Files
Hendrik Hogertz 05f0b104d4
All checks were successful
Building & Deploying Website / Deploy-Website (push) Successful in 12s
Update to current version
2025-11-05 23:14:41 +01:00

11 lines
372 B
HTML

{{ $align := .Get "align" | default "left" }}
{{ $style := .Get "style" | default "markdown" }}
{{ $group := .Page.Scratch.Get "tabGroupIndex" | default 0 }}
{{ $index := .Page.Scratch.Set "tabElementIndex" 0 }}
<div class="tabs {{ if eq $style "code" }}tabs-code {{ end }}tabs-{{ $align }}">
{{ .Inner }}
</div>
{{ .Page.Scratch.Set "tabGroupIndex" (add 1 $group) }}