51 lines
1.0 KiB
HTML
51 lines
1.0 KiB
HTML
<div class="{% if css %}{{ css }}{% else %}col-12 col-md-4{% endif %}">
|
|
|
|
<div class="{% if not rmcard %}card shadow{% endif %} mb-4">
|
|
|
|
{% if not imgbottom %}
|
|
|
|
{% if src %}
|
|
<div class="px-auto pt-4">
|
|
<img src="{{ get_url(path=src, cachebust=true) }}" width="40px">
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="card-body">
|
|
{% if title %}
|
|
<div class="card-title">
|
|
<h5 class="mb-0">{{ title }}</h5>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div {% if sameheight %}style="height: {{ sameheight }}px"{% endif%}>
|
|
{{ body | markdown | safe }}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<div class="card-body">
|
|
{% if title %}
|
|
<div class="card-title">
|
|
<h5 class="mb-0">{{ title }}</h5>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{{ body | markdown | safe }}
|
|
|
|
</div>
|
|
|
|
{% if src %}
|
|
<div class="">
|
|
<img src="{{ get_url(path=src, cachebust=true) }}" class="card-img img-fluid">
|
|
</div>
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div> |