diff --git a/website/layouts/shortcodes/tab.html b/website/layouts/shortcodes/tab.html new file mode 100644 index 00000000..3886c8ae --- /dev/null +++ b/website/layouts/shortcodes/tab.html @@ -0,0 +1,10 @@ +{{ $tabName := .Get "tabName" }} +{{ $tabID := .Get "tabID" }} +{{ .Parent.Scratch.Add "tabName" (slice $tabName) }} +{{ .Parent.Scratch.Add "tabID" (slice $tabID) }} + +
+ + {{ $.Inner | markdownify }} + +
diff --git a/website/layouts/shortcodes/tabs.html b/website/layouts/shortcodes/tabs.html index 3d408590..3ac73092 100644 --- a/website/layouts/shortcodes/tabs.html +++ b/website/layouts/shortcodes/tabs.html @@ -1,24 +1,73 @@ + + +