Fix the image shortcode
This commit is contained in:
@ -1,3 +1,5 @@
|
|||||||
|
{% if url_min %}
|
||||||
|
<a href="{{ url }}">
|
||||||
<img class="
|
<img class="
|
||||||
{% if full %}full{% endif %}
|
{% if full %}full{% endif %}
|
||||||
{% if pixels %}pixels{% endif %}
|
{% if pixels %}pixels{% endif %}
|
||||||
@ -5,4 +7,15 @@
|
|||||||
{% if no_hover %}no-hover{% endif %}
|
{% if no_hover %}no-hover{% endif %}
|
||||||
"
|
"
|
||||||
{% if alt %}alt="{{alt}}"{% endif %}
|
{% if alt %}alt="{{alt}}"{% endif %}
|
||||||
src="{% if url_min %}{{url_min}}{% else %}{{url}}{% endif %}" />
|
src="{{ url_min }}" />
|
||||||
|
</a>
|
||||||
|
{% else %}
|
||||||
|
<img class="
|
||||||
|
{% if full %}full{% endif %}
|
||||||
|
{% if pixels %}pixels{% endif %}
|
||||||
|
{% if transparent %}transparent{% endif %}
|
||||||
|
{% if no_hover %}no-hover{% endif %}
|
||||||
|
"
|
||||||
|
{% if alt %}alt="{{alt}}"{% endif %}
|
||||||
|
src="{{ url }}" />
|
||||||
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user