dashboard
repositories
filestore
activity
search
login
external-software
/
github_gohugo_theme_compose
mirror of
https://github.com/onweru/compose.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
Update netlify.toml
Weru
03.12.2024
9f857b0ec4a5c262ac7241ef498c3e8c8e72befb
[external-software/github_gohugo_theme_compose.git]
/
layouts
/
shortcodes
/
tabs.html
1
2
3
4
5
6
7
8
9
10
{{ $id := .Get 0 | default "id" }}
{{ $align := .Get "align" | default "left" }}
{{ $group := .Page.Scratch.Get "tabGroupIndex" | default 0 }}
{{ $index := .Page.Scratch.Set "tabElementIndex" 0 }}
<div class="tabs tabs-{{ $align }}">
{{ .Inner }}
</div>
{{ .Page.Scratch.Set "tabGroupIndex" (add 1 $group) }}