61 lines
999 B
HTML
61 lines
999 B
HTML
<div class="row d-flex align-items-center mt-5 mb-5 pt-3 pb-3">
|
|
|
|
{% if bodyleft %}
|
|
|
|
<div class="col-12 col-md-6">
|
|
|
|
{% if md %}
|
|
|
|
{{ body | markdown | safe }}
|
|
|
|
{% else %}
|
|
|
|
{{ body | safe }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-md-6">
|
|
|
|
<div class="card shadow">
|
|
|
|
<div class="card-body">
|
|
<img src="{{ get_url(path=src, cachebust=true) }}" alt="{{ alt }}" width="100%" class="img-fluid" >
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<div class="col-12 col-md-6 order-2 order-md-1">
|
|
|
|
<div class="card shadow">
|
|
|
|
<div class="card-body">
|
|
<img src="{{ get_url(path=src, cachebust=true) }}" alt="{{ alt }}" width="100%" class="img-fluid" >
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-md-6 order-1 order-md-2">
|
|
|
|
{% if md %}
|
|
|
|
{{ body | markdown | safe }}
|
|
|
|
{% else %}
|
|
|
|
{{ body | safe }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div> |