mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-01 01:21:49 +02:00
Switch to Hugo.
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
This commit is contained in:
10
site/layouts/shortcodes/callout.html
Normal file
10
site/layouts/shortcodes/callout.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{- /*
|
||||
Usage: `callout "type"`,
|
||||
where type is one of info (default), danger, warning
|
||||
*/ -}}
|
||||
|
||||
{{- $css_class := .Get 0 | default "info" -}}
|
||||
|
||||
<div class="bd-callout bd-callout-{{ $css_class }}">
|
||||
{{ .Inner | markdownify }}
|
||||
</div>
|
Reference in New Issue
Block a user