Merge commit '14822297bd' as 'themes/tabi-lean'
This commit is contained in:
commit
9475df0914
332 changed files with 25244 additions and 0 deletions
12
themes/tabi-lean/templates/shortcodes/admonition.html
Normal file
12
themes/tabi-lean/templates/shortcodes/admonition.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{%- set type = type | default(value="info") -%}
|
||||
{%- set title = title | default(value=type | upper) -%}
|
||||
{%- set icon = icon | default(value=type) -%}
|
||||
{%- set text = text | default(value=body) -%}
|
||||
|
||||
<div class="admonition {{ type }}">
|
||||
<div class="admonition-icon admonition-icon-{{ icon }}"></div>
|
||||
<div class="admonition-content">
|
||||
<strong class="admonition-title">{{ title | safe }}</strong>
|
||||
{{ text | markdown | safe }}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue