Squashed 'themes/tabi-lean/' content from commit efb4246
git-subtree-dir: themes/tabi-lean git-subtree-split: efb42461fde7ee5b0c140d27f2789fdf9c98b100
This commit is contained in:
commit
8be91ee3d9
336 changed files with 25227 additions and 0 deletions
12
templates/shortcodes/admonition.html
Normal file
12
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