1
0
forked from M-Labs/web2019

refactor(website): Removes old shortcodes

This commit is contained in:
sovanna 2019-07-19 16:08:13 +02:00
parent 4cade56938
commit f5287a5f10
6 changed files with 0 additions and 113 deletions

View File

@ -1,11 +0,0 @@
<div class="{% if customcss %}{{ customcss }}{% else %}row d-flex align-items-center mt-5 mb-5 pt-3 pb-3{% endif %}">
<div class="col-12">
<p class="text-center">
<img class="img-fluid" src="{{ get_url(path=src) }}" alt="{{ alt }}">
</p>
</div>
</div>

View File

@ -1,9 +0,0 @@
<div class="text-center {% if css %}{{ css }}{% else %}mt-3{% endif %}">
{% if markdown %}
{{ body | markdown | safe}}
{% elif safe %}
{{ body | safe }}
{% else %}
{{ body }}
{% endif %}
</div>

View File

@ -1,19 +0,0 @@
<div class="container-fluid d-flex flex-column justify-content-center mt-3 mb-3">
<div class="container">
<div class="row">
<div class="col-12 text-center">
<h2 class="mb-0">{{ title }}</h2>
<img src="{{ get_url(path='images/ion@2x.png', cachebust=true) }}" width="100" align="ion">
</div>
</div>
</div>
</div>

View File

@ -1,5 +0,0 @@
<div class="{% if customcss %}{{ customcss }}{% else %}row{% endif %}">
{{ body | safe }}
</div>

View File

@ -1,8 +0,0 @@
<div class="{% if customcss %}{{ customcss }}{% else %}row{% endif %}">
<div class="col-12 col-md-8 mx-auto">
<h5 class="text-center">{{ title }}</h5>
{{ body | markdown | safe }}
</div>
</div>

View File

@ -1,61 +0,0 @@
<div class="{% if customcss %}{{ customcss }}{% else %}row d-flex align-items-center mt-4 mb-4 pt-2 pb-2{% endif%}">
{% 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 pt-3 pt-sm-0">
<div class="card {% if shadow %}shadow{% endif %}">
{% if src %}
<img src="{{ get_url(path=src, cachebust=true) }}" alt="{{ alt }}" width="100%" class="card-img-top img-fluid">
{% endif %}
</div>
</div>
{% else %}
<div class="col-12 col-md-6 order-2 order-md-1">
<div class="card {% if shadow %}shadow{% endif %}">
{% if src %}
<img src="{{ get_url(path=src, cachebust=true) }}" alt="{{ alt }}" width="100%" class="card-img-top img-fluid">
{% endif %}
</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>