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:
Diffstat (limited to 'exampleSite/content/shortcodes/badge/_index.md')
-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 |
+