github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/docs/themes/hugo-theme-relearn/layouts/partials/shortcodes/tab.html (about) 1 {{- $page := .page }} 2 {{- if and (not $page) .context }} 3 {{- $page = .context }} 4 {{- warnf "%q: DEPRECATED parameter 'context' for shortcode 'tab' found, use 'page' instead; see https://mcshelby.github.io/hugo-theme-relearn/basics/migration#5180" $page.File.Filename }} 5 {{- end }} 6 {{- $tabs := (slice | append (dict 7 "color" .color 8 "content" .content 9 "icon" .icon 10 "name" .name 11 "style" .style 12 "title" .title 13 )) }} 14 {{- partial "shortcodes/tabs.html" (dict 15 "page" $page 16 "color" "" 17 "content" $tabs 18 "groupid" "" 19 "icon" "" 20 "style" "" 21 "title" "" 22 ) }}