|
1234567891011121314151617181920212223 |
-
- {% macro callout_warning(message, title) %}
- {{ _self.callout('warning', message, title) }}
- {% endmacro %}
-
- {% macro callout_info(message, title) %}
- {{ _self.callout('info', message, title) }}
- {% endmacro %}
-
- {% macro callout_danger(message, title) %}
- {{ _self.callout('danger', message, title) }}
- {% endmacro %}
-
- {% macro callout_success(message, title) %}
- {{ _self.callout('success', message, title) }}
- {% endmacro %}
-
- {% macro callout(type, message, title) %}
- <div class="callout callout-{{ type }}">
- {% if title %}<h5>{{ title }}</h5>{% endif %}
- <p>{{ message }}</p>
- </div>
- {% endmacro %}
|