gitea-pages/_includes/warning.html
Spencer Bliven 2c95130a4f Add Python page
- Update styles for some includes
- Use default markdown rendering instead of span rendering to allow
  multi-line content
- Slight hack in customstyles to allow color overrides. A better fix
  would be to use the bootstrap sass to keep constant colors throughout
  the project
- Added title parameter to note and warning includes
2020-10-01 17:02:38 +02:00

8 lines
302 B
HTML

{% comment %}
A red alert box.
Parameters:
- title: Initial word (default "warning")
- content: markdown content
{% endcomment -%}
<div markdown="1" class="alert alert-danger" role="alert"><i class="fa fa-exclamation-circle"></i> <b>{{include.title | default:"Warning"}}:</b> {{include.content}}</div>