{{- .Page.Scratch.Add "tabset-counter" 1 -}} {{- $tab_set_id := default (printf "tabset-%s-%d" (.Page.RelPermalink) (.Page.Scratch.Get "tabset-counter") ) | anchorize -}} {{- $tabs := .Scratch.Get "tabs" -}} {{- $category_name := trim (.Get "category-name") " " -}} {{ $tab_set_class := .Get "class" }} {{ $forget_tab := .Get "forget-tab" }} {{- if .Inner -}} {{- /* We don't use the inner content, but Hugo needs this reference as a trigger to indicate this shortcode has a content area. */ -}} {{- end -}}
{{- . -}}
{{ end }} {{- $text := partial "strip_indent.html" (dict "content" .content "pos" .Position) -}} {{- $text | markdownify -}}