2023-07-11 17:43:48 +08:00
|
|
|
<div class="{% if css %}{{ css }}{% else %}col-12 col-md-4{% endif %} mb-4">
|
2019-07-19 21:10:55 +08:00
|
|
|
|
2023-07-11 17:43:48 +08:00
|
|
|
<div class="{% if not rmcard %}card shadow{% endif %} h-100">
|
2019-07-19 21:10:55 +08:00
|
|
|
|
2019-07-19 23:09:54 +08:00
|
|
|
{% if not imgbottom %}
|
2019-07-19 21:10:55 +08:00
|
|
|
|
2019-07-19 23:09:54 +08:00
|
|
|
{% if src %}
|
|
|
|
<div class="px-auto pt-4">
|
|
|
|
<img src="{{ get_url(path=src, cachebust=true) }}" width="40px">
|
2019-07-19 21:10:55 +08:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2019-07-19 23:09:54 +08:00
|
|
|
<div class="card-body">
|
|
|
|
{% if title %}
|
|
|
|
<div class="card-title">
|
|
|
|
<h5 class="mb-0">{{ title }}</h5>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2023-07-11 17:43:48 +08:00
|
|
|
<div {% if sameheight %}style="min-height: {{ sameheight }}px"{% endif%}>
|
2020-01-22 23:48:00 +08:00
|
|
|
{{ body | markdown | safe }}
|
|
|
|
</div>
|
2019-07-19 23:09:54 +08:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
{% if title %}
|
|
|
|
<div class="card-title">
|
|
|
|
<h5 class="mb-0">{{ title }}</h5>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2019-07-19 21:10:55 +08:00
|
|
|
|
2019-07-19 23:09:54 +08:00
|
|
|
{{ body | markdown | safe }}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% if src %}
|
|
|
|
<div class="">
|
|
|
|
<img src="{{ get_url(path=src, cachebust=true) }}" class="card-img img-fluid">
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% endif %}
|
2019-07-19 21:10:55 +08:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|