1
0
Fork 0
web2019/templates/shortcodes/layout_centered_content.html

17 lines
483 B
HTML
Raw Permalink Normal View History

<div class="{% if css %}{{ css }}{% else %}row d-flex align-items-center mt-5 mb-5{% endif %}">
2019-08-01 17:53:36 +08:00
<div class="{% if min_width %}col-12 col-md-8 mx-auto{% else %}col-12{% endif %} {% if not force_left %}text-center{% endif %}" style="{% if bg %}{{ bg }}{% endif %}">
{% if card %}
<div class="card shadow py-4 px-3">
{{ body | markdown | safe }}
</div>
{% else %}
2019-08-01 17:53:36 +08:00
<div>
{{ body | markdown | safe }}
</div>
{% endif %}
</div>
</div>