web2019/templates/shortcodes/layout_centered_img.html

9 lines
321 B
HTML

<div class="{% if css %}{{ css }}{% else %}row d-flex align-items-center mt-5 mb-5{% endif %}">
<div class="col-12 text-center">
<img class="img-fluid" {% if popup %}data-popup="true" data-nsrc="{{ get_url(path=popup, cachebust=true) }}"{% endif %} src="{{ get_url(path=src) }}" alt="{{ alt }}">
</div>
</div>