2018-07-20 21:50:19 +03:00
|
|
|
{% if include.notice %}
|
|
|
|
{% assign notice=include.notice %}
|
|
|
|
{% else %}
|
|
|
|
{% assign notice=include %}
|
|
|
|
{% endif %}
|
|
|
|
|
2019-08-14 02:50:30 +03:00
|
|
|
<div class="notice notice-{{ notice.level }} {{ notice.classes }}">
|
2018-07-20 21:50:19 +03:00
|
|
|
{% if notice.level == "warning" %}
|
|
|
|
<span>⚠</span>
|
|
|
|
{% else if notice.level == "tip" %}
|
|
|
|
<span>i</span>
|
|
|
|
{% else %}
|
|
|
|
<span>?</span>
|
|
|
|
{% endif %}
|
|
|
|
<div>
|
|
|
|
{% if notice.title %}
|
|
|
|
<h2>{{ notice.title }}</h2>
|
|
|
|
{% endif %}
|
2019-07-01 22:47:26 +03:00
|
|
|
{{ notice.message | markdownify }}
|
2018-07-20 21:50:19 +03:00
|
|
|
</div>
|
|
|
|
</div>
|