From 0427e200be1baf55733165fe8bbce0414fa53b86 Mon Sep 17 00:00:00 2001 From: somrat Date: Sun, 15 Dec 2019 10:41:28 +0600 Subject: [PATCH] modified element page --- exampleSite/content/installation/elements/_index.en.md | 10 +++++----- layouts/shortcodes/notice.html | 1 + layouts/shortcodes/tab.html | 2 ++ layouts/shortcodes/tabs.html | 4 +++- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/exampleSite/content/installation/elements/_index.en.md b/exampleSite/content/installation/elements/_index.en.md index 236581b..e27adfc 100644 --- a/exampleSite/content/installation/elements/_index.en.md +++ b/exampleSite/content/installation/elements/_index.en.md @@ -94,19 +94,19 @@ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quam nihil enim maxime #### Tab -{{% tabs %}} +{{< tabs >}} {{% tab "first" %}} This is first tab - {{% /tab %}} + {{%/ tab %}} {{% tab "second" %}} this is second tab - {{% /tab %}} + {{%/ tab %}} {{% tab "third" %}} this is third tab - {{% /tab %}} -{{% tabs %}} + {{%/ tab %}} +{{}}
diff --git a/layouts/shortcodes/notice.html b/layouts/shortcodes/notice.html index 2384e23..d83039f 100644 --- a/layouts/shortcodes/notice.html +++ b/layouts/shortcodes/notice.html @@ -1 +1,2 @@ +{{ $_hugo_config := `{ "version": 1 }` }}

{{ .Inner }}

\ No newline at end of file diff --git a/layouts/shortcodes/tab.html b/layouts/shortcodes/tab.html index 4658d5a..832a793 100644 --- a/layouts/shortcodes/tab.html +++ b/layouts/shortcodes/tab.html @@ -1,3 +1,5 @@ +{{ $_hugo_config := `{ "version": 1 }` }} +
{{ .Inner }}
\ No newline at end of file diff --git a/layouts/shortcodes/tabs.html b/layouts/shortcodes/tabs.html index 026b9c8..76797fb 100644 --- a/layouts/shortcodes/tabs.html +++ b/layouts/shortcodes/tabs.html @@ -1,4 +1,6 @@ -
+{{ $_hugo_config := `{ "version": 1 }` }} + +
{{ .Inner }}
\ No newline at end of file