mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
tabs: treat groupid as unique if not set #537
This commit is contained in:
parent
5178890342
commit
79711983fe
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{{- $context := .context }}
|
||||
{{- $tabs := .tabs | default slice }}
|
||||
{{- $groupid := .groupid | default "default" }}
|
||||
{{- $groupid := .groupid | default (partial "make-random-md5.hugo" $context) }}
|
||||
{{- with $context }}
|
||||
<div class="tab-panel" data-tab-group="{{ $groupid }}">
|
||||
<div class="tab-nav">
|
||||
|
|
Loading…
Reference in a new issue