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,10 +1,10 @@
{% import "macros/translate.html" as macros_translate %}
{% set language_strings = load_data(path="i18n/" ~ lang ~ '.toml', required=false) %}
{% if not language_strings %}
{% set language_strings = load_data(path="themes/tabi/i18n/" ~ lang ~ ".toml", required=false) %}
{% endif %}
{% set rtl_languages = ["ar", "arc", "az", "dv", "ff", "he", "ku", "nqo", "fa", "rhg", "syc", "ur"] %}
{%- set language_strings = load_data(path="i18n/" ~ lang ~ '.toml', required=false) -%}
{%- if not language_strings -%}
{%- set language_strings = load_data(path="themes/tabi/i18n/" ~ lang ~ ".toml", required=false) -%}
{%- endif -%}
{%- set rtl_languages = ["ar", "arc", "az", "dv", "ff", "he", "ku", "nqo", "fa", "rhg", "syc", "ur"] -%}
<!DOCTYPE html>
<html {% if lang in rtl_languages %}dir="rtl"{% endif %} lang="{{ lang }}">
@ -12,10 +12,12 @@
{% include "partials/head.html" %}
<body>
{% include "partials/nav.html" %}
{%- if config.extra.nav.links %}
{% include "partials/nav.html" %}
{%- endif %}
<div id="main" class="container">
{% block custom %}{%- endblock -%}
{% block content %}{%- endblock -%}
{% block custom %}{% endblock %}
{% block content %}{% endblock %}
</div>
{% include "partials/footer.html" %}
</body>