Allow floating images to start/end of a paragraph
This commit is contained in:
@ -2,20 +2,24 @@
|
||||
<a href="{{ url }}">
|
||||
<img class="
|
||||
{% if full %}full{% endif %}
|
||||
{% if start %}start{% endif %}
|
||||
{% if end %}end{% endif %}
|
||||
{% if pixels %}pixels{% endif %}
|
||||
{% if transparent %}transparent{% endif %}
|
||||
{% if no_hover %}no-hover{% endif %}
|
||||
"
|
||||
{%- if alt -%}alt="{{alt}}"{%- endif -%}
|
||||
{%- if alt -%}alt="{{ alt }}"{%- endif -%}
|
||||
src="{{ url_min }}" />
|
||||
</a>
|
||||
{%- else -%}
|
||||
<img class="
|
||||
{% if full %}full{% endif %}
|
||||
{% if start %}start{% endif %}
|
||||
{% if end %}end{% endif %}
|
||||
{% if pixels %}pixels{% endif %}
|
||||
{% if transparent %}transparent{% endif %}
|
||||
{% if no_hover %}no-hover{% endif %}
|
||||
"
|
||||
{%- if alt -%}alt="{{alt}}"{%- endif -%}
|
||||
{%- if alt -%}alt="{{ alt }}"{%- endif -%}
|
||||
src="{{ url }}" />
|
||||
{%- endif -%}
|
||||
|
Reference in New Issue
Block a user