mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 08:14:33 +00:00
See https://discord.com/channels/722225264733716590/738924091511144489/1406144559188283494 See https://gohugo.io/templates/new-templatesystem-overview/
17 lines
520 B
HTML
17 lines
520 B
HTML
{{/*
|
|
Docs: https://docs.hugoblox.com/content/writing-markdown-latex/#callouts
|
|
|
|
Parameters
|
|
----------
|
|
#0 : optional, positional
|
|
Add the class "alert-{#0}" to the <div> container of the callout element.
|
|
Default Hugo Blox Builder available styles are "note" and "warning".
|
|
Otherwise you can create your own class (see `assets/scss/blox-bootstrap/elements/_callout.scss`).
|
|
*/}}
|
|
|
|
<div class="alert alert-{{ .Get 0 }}">
|
|
<div>
|
|
{{ .Inner | markdownify | emojify }}
|
|
</div>
|
|
</div>
|