mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
tabs: fix tab selection by groupid #582
This commit is contained in:
parent
914c2a9da4
commit
fabcf681e9
1 changed files with 0 additions and 3 deletions
|
@ -4,9 +4,6 @@
|
||||||
{{- $minor := int (index $version 1) }}
|
{{- $minor := int (index $version 1) }}
|
||||||
{{- $color := (.Get "color") }}
|
{{- $color := (.Get "color") }}
|
||||||
{{- $groupid := (.Get "groupid") }}
|
{{- $groupid := (.Get "groupid") }}
|
||||||
{{- if or (and (eq $major 0) (ge $minor 108)) (gt $major 0) }}
|
|
||||||
{{- $groupid = $groupid | default "" }}
|
|
||||||
{{- end }}
|
|
||||||
{{- $icon := (.Get "icon") }}
|
{{- $icon := (.Get "icon") }}
|
||||||
{{- $style := (.Get "style") }}
|
{{- $style := (.Get "style") }}
|
||||||
{{- $title := (.Get "title") }}
|
{{- $title := (.Get "title") }}
|
||||||
|
|
Loading…
Reference in a new issue