Get rid of the anchor tag in image shortcode

This commit is contained in:
daudix
2024-03-31 00:15:01 +03:00
parent 65b151c63d
commit 16a73ef4d3
2 changed files with 10 additions and 14 deletions

View File

@ -1,4 +1,3 @@
<a href="{{url}}">
<img class="
{% if full %}full{% endif %}
{% if pixels %}pixels{% endif %}
@ -7,4 +6,3 @@
"
{% if alt %}alt="{{alt}}"{% endif %}
src="{% if url_min %}{{url_min}}{% else %}{{url}}{% endif %}" />
</a>

View File

@ -1,9 +1,7 @@
<video
class="
<video class="
{% if full %}full{% endif %}
{% if pixels %}pixels{% endif %}
{% if transparent %}transparent{% endif %}
"
{% if alt %}alt="{{alt}}"{% endif %}
controls src="{{url}}">
</video>
controls src="{{url}}"></video>