diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index 1cd8258403..b32d052e7f 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.1.1+40ede377c8e67960f181dd22ce34a63eb952f3f6 \ No newline at end of file +7.1.1+ab4197f3113afa9a7d17bed69dbef6c0e75a4921 \ No newline at end of file diff --git a/layouts/shortcodes/tab.html b/layouts/shortcodes/tab.html index 43a5391540..bb5de89261 100644 --- a/layouts/shortcodes/tab.html +++ b/layouts/shortcodes/tab.html @@ -6,8 +6,8 @@ {{- $style := (.Get "style") }} {{- $title := (.Get "title") }} {{- $tabs := slice }} -{{- if and .Parent (.Parent.Store.Get "tabs") }} - {{- $tabs = .Parent.Store.Get "tabs" }} +{{- if and .Parent (.Parent.Scratch.Get "tabs") }} + {{- $tabs = .Parent.Scratch.Get "tabs" }} {{- end }} {{- $tabs = $tabs | append (dict "color" $color @@ -18,7 +18,7 @@ "title" $title ) }} {{- if .Parent }} - {{- $.Parent.Store.Set "tabs" $tabs }} + {{- $.Parent.Scratch.Set "tabs" $tabs }} {{- else }} {{- /* if no containing tabs shortcode is present, we display this tab as single */}} {{- partial "shortcodes/tabs.html" (dict diff --git a/layouts/shortcodes/tabs.html b/layouts/shortcodes/tabs.html index 19cc7f39ba..1e25a583ad 100644 --- a/layouts/shortcodes/tabs.html +++ b/layouts/shortcodes/tabs.html @@ -7,7 +7,7 @@ {{- $icon := (.Get "icon") }} {{- $style := (.Get "style") }} {{- $title := (.Get "title") }} -{{- $tabs := (.Store.Get "tabs") }} +{{- $tabs := (.Scratch.Get "tabs") }} {{- partial "shortcodes/tabs.html" (dict "page" .Page "color" $color