dashboard
repositories
filestore
activity
search
login
external-software
/
github_gohugo_theme_hugo-coder
mirror of
https://github.com/luizdepra/hugo-coder.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
Remove trailing space from headline. (#970)
Björn Albers
27.20.2025
70c0792f78b257c7b3c7614b2bc7dffa95f5143f
[external-software/github_gohugo_theme_hugo-coder.git]
/
layouts
/
shortcodes
/
tabgroup.html
1
2
3
4
5
6
7
8
9
10
{{ $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) }}