Deprecate the animated_favicon variable

APNG seems to be well supported so it's not needed I guess
This commit is contained in:
daudix
2024-06-21 20:39:43 +03:00
parent b7807bb175
commit fe6de0eb17
21 changed files with 228 additions and 235 deletions

View File

@ -1,4 +1,4 @@
{% if url_min %}
{%- if url_min -%}
<a href="{{ url }}">
<img class="
{% if full %}full{% endif %}
@ -6,16 +6,16 @@
{% 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 %}
{%- 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 %}
{%- if alt -%}alt="{{alt}}"{%- endif -%}
src="{{ url }}" />
{% endif %}
{%- endif -%}

View File

@ -3,5 +3,5 @@
{% if pixels %}pixels{% endif %}
{% if transparent %}transparent{% endif %}
"
{% if alt %}alt="{{alt}}"{% endif %}
{%- if alt -%}alt="{{alt}}"{%- endif -%}
controls src="{{url}}"></video>