Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvjeantet <valere.jeantet@gmail.com>2020-09-16 23:36:25 +0300
committervjeantet <valere.jeantet@gmail.com>2020-09-16 23:36:25 +0300
commitee1a0501f9841ea3719dbde8dd542f25982cc826 (patch)
treeef43862f14d3c618b34a1d14d50ce8f6eb65ad5d /exampleSite/content/shortcodes/badge
parentf42f69a7da9c8c8b9a099a5d1e5c80a125296940 (diff)
fix for bootstrap
Diffstat (limited to 'exampleSite/content/shortcodes/badge')
-rw-r--r--exampleSite/content/shortcodes/badge/_index.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/exampleSite/content/shortcodes/badge/_index.md b/exampleSite/content/shortcodes/badge/_index.md
new file mode 100644
index 0000000..20e8f7d
--- /dev/null
+++ b/exampleSite/content/shortcodes/badge/_index.md
@@ -0,0 +1,41 @@
+---
+description: Disclaimers to help you structure your page
+title: badge
+---
+
+{{% badge %}}primary _(default)_{{% /badge %}}
+{{% badge warning %}}In progress{{% /badge %}}
+{{% badge secondary %}}docport{{% /badge %}}
+{{% badge success %}}beta{{% /badge %}}
+{{% badge danger %}}danger{{% /badge %}}
+{{% badge warning %}}warning{{% /badge %}}
+{{% badge info %}}info{{% /badge %}}
+{{% badge light %}}light{{% /badge %}}
+{{% badge dark %}}dark{{% /badge %}}
+
+## Shortcode markup {{% badge warning %}}new{{% /badge %}}
+```
+ {{%/* badge %}}primary _(default)_{{% /badge %}}
+ {{% badge warning %}}In progress{{% /badge %}}
+ {{% badge secondary %}}docport{{% /badge %}}
+ {{% badge success %}}beta{{% /badge %}}
+ {{% badge danger %}}danger{{% /badge %}}
+ {{% badge warning %}}warning{{% /badge %}}
+ {{% badge info %}}info{{% /badge %}}
+ {{% badge light %}}light{{% /badge %}}
+ {{% badge dark %}}dark{{% /badge */%}}
+```
+
+
+
+
+
+## Usage
+```
+ {{%/*badge $style %}}Lorem ipsum{{%/badge*/%}}
+```
+
+| Parameter | Description |
+|:--|:--|
+| $style | type/color of badge |
+