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

github.com/blankoworld/hugo_theme_adam_eve.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier DOSSMANN <git@dossmann.net>2017-06-25 21:08:58 +0300
committerOlivier DOSSMANN <git@dossmann.net>2017-06-25 21:08:58 +0300
commitf3b4fd10eafc7ee68c4b27ec7d7e437044876f00 (patch)
tree705e3a251c5c5eeb41bc3b640be94661d6651296 /README.md
parent445c3088093fc498cdb1b07b82d376de1e8d97b3 (diff)
New 'note' shortcode with 4 specific display:
* warning (red) * important (yellow) * tip (green) * normal (blue)
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7fd49e8..22c4899 100644
--- a/README.md
+++ b/README.md
@@ -71,3 +71,22 @@ This shortcode will use `relref` Hugo command to create a relative link to the g
```
{{< internal "Magic potion" "section/my_internal_page.md" >}}
```
+
+## note
+
+Display a sidebar with a specific background color to show readers something important.
+
+We have 4 sidebar models:
+
+ * warning (red)
+ * important (yellow)
+ * tip (green)
+ * normal (blue)
+
+Example:
+
+```
+{{% note warning %}}
+Pay attention to read this **entire page** before applying what you read!
+{{% /note %}}
+```