diff --git a/themes/hugo-geekdoc/layouts/partials/head/others.html b/themes/hugo-geekdoc/layouts/partials/head/others.html index 20ff5641..575ff6c5 100644 --- a/themes/hugo-geekdoc/layouts/partials/head/others.html +++ b/themes/hugo-geekdoc/layouts/partials/head/others.html @@ -96,12 +96,12 @@ diff --git a/themes/hugo-geekdoc/layouts/shortcodes/tab-text.html b/themes/hugo-geekdoc/layouts/shortcodes/tab-text.html new file mode 100644 index 00000000..44544135 --- /dev/null +++ b/themes/hugo-geekdoc/layouts/shortcodes/tab-text.html @@ -0,0 +1 @@ +

{{ .Inner | $.Page.RenderString }}

diff --git a/themes/hugo-geekdoc/static/custom.css b/themes/hugo-geekdoc/static/custom.css index fd76aed7..732a34f6 100644 --- a/themes/hugo-geekdoc/static/custom.css +++ b/themes/hugo-geekdoc/static/custom.css @@ -43,3 +43,9 @@ h5 > svg.gdoc-icon { margin-right: 5px; } #DynabicMenuInnerDiv{ display:none; } #dvMenuFooter{ display:none; } } + +/* tab-text shortcode */ + +.gdoc-tab-text { + padding: 1rem; +} \ No newline at end of file