aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/content/docs/example
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-25 21:16:49 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-25 21:16:49 +0100
commit08519158f49bb97c6f758cf8886e25b7f9aec433 (patch)
tree1d48eed12b0ff69a3c95b37332080e0f601c5338 /exampleSite/content/docs/example
parent5d7f257e303d581a4b75f3feb12940a172ec89ed (diff)
#153, Remove extra spaces in generated tabs html
Diffstat (limited to 'exampleSite/content/docs/example')
-rw-r--r--exampleSite/content/docs/example/tabs.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/exampleSite/content/docs/example/tabs.md b/exampleSite/content/docs/example/tabs.md
new file mode 100644
index 0000000..dca1961
--- /dev/null
+++ b/exampleSite/content/docs/example/tabs.md
@@ -0,0 +1,28 @@
+---
+weight: 99
+title: This is a layout test doc
+---
+
+# Doc Title
+
+{{< columns >}}
+This is content for col 1
+<--->
+
+This is content for col 2 - tabs inside a column:
+{{< tabs "noneworkingtabs" >}}
+{{< tab "Thing1" >}}This information on Thing1 does not appear.{{< /tab >}}
+{{< tab "Thing2" >}}This information on Thing2 does not appear.{{< /tab >}}
+{{< /tabs >}}
+
+More content for col 2
+{{< /columns >}}
+
+Back to one wide col. Here are some tabs outside columns which work fine:
+
+{{< tabs "workingtabs" >}}
+{{< tab "Thing3" >}}This information on Thing3 is fine.{{< /tab >}}
+{{< tab "Thing4" >}}This information on Thing4 is fine.{{< /tab >}}
+{{< /tabs >}}
+
+end of doc