From 1200fdf8d002721a2d3c2ea82d85f856587d0b7b Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 13 Feb 2024 01:48:23 +0200 Subject: [PATCH] add dynamical favicons --- templates/default/layout.html.twig | 2 +- templates/default/main/namespace.html.twig | 1 + templates/default/main/transaction.html.twig | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/default/layout.html.twig b/templates/default/layout.html.twig index 48ff2e1..d61a391 100644 --- a/templates/default/layout.html.twig +++ b/templates/default/layout.html.twig @@ -4,7 +4,7 @@ {% block title %}{{ app.name }}{% endblock %} - + {% block favicon %}{% endblock %} {% block body %}{% endblock %} diff --git a/templates/default/main/namespace.html.twig b/templates/default/main/namespace.html.twig index e8b6764..83a034a 100644 --- a/templates/default/main/namespace.html.twig +++ b/templates/default/main/namespace.html.twig @@ -1,5 +1,6 @@ {% extends 'default/layout.html.twig' %} {% block title %}{% if title %}{{ title }} - {% endif %}{% if request.get('part') > 1 %}{{ 'Part' | trans | upper }} {{ request.get('part') }} - {% endif %}{{ app.name }}{% endblock %} +{% block favicon %}{% endblock %} {% block body %}
diff --git a/templates/default/main/transaction.html.twig b/templates/default/main/transaction.html.twig index f0b454d..c423c0d 100644 --- a/templates/default/main/transaction.html.twig +++ b/templates/default/main/transaction.html.twig @@ -1,5 +1,6 @@ {% extends 'default/layout.html.twig' %} {% block title %}{% if title %}{{ title }} - {% endif %}{{ app.name }}{% endblock %} +{% block favicon %}{% endblock %} {% block body %}