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

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/layouts/shortcodes/tip.html')
-rw-r--r--docs/layouts/shortcodes/tip.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/layouts/shortcodes/tip.html b/docs/layouts/shortcodes/tip.html
new file mode 100644
index 000000000..139e3376b
--- /dev/null
+++ b/docs/layouts/shortcodes/tip.html
@@ -0,0 +1,9 @@
+{{ $_hugo_config := `{ "version": 1 }` }}
+<aside class="admonition tip">
+ <div class="tip-icon">
+ {{partial "svg/exclamation.svg" .}}
+ </div>
+ <!-- <h2 id="{{if .Get 0}}{{.Get 0 | urlize}}{{else}}tip{{end}}">{{if .Get 0}}{{.Get 0 | markdownify}}{{else}}Tip{{end}}</h2> -->
+ <!-- <h3>Tip</h3> -->
+ <div class="admonition-content">{{- .Inner -}}</div>
+</aside>