From 79711983fe0fd64c16c9d6e92374665599ad1a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Tue, 23 May 2023 23:53:52 +0200 Subject: [PATCH] tabs: treat groupid as unique if not set #537 --- layouts/partials/shortcodes/tabs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/shortcodes/tabs.html b/layouts/partials/shortcodes/tabs.html index 1068c6097f..317d683d91 100644 --- a/layouts/partials/shortcodes/tabs.html +++ b/layouts/partials/shortcodes/tabs.html @@ -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 }}