Configure PWA: single pwa() call with favicon/theme injection, Imagick processor, remove duplicates

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-20 18:55:21 +01:00
parent a794a10844
commit 681c04bf85
2 changed files with 2 additions and 4 deletions

View File

@@ -3,10 +3,8 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="apple-touch-icon" href="/favicon.png">
<meta name="theme-color" content="#fabf04">
<title>{% block title %}{% endblock %}</title>
{{ pwa(injectThemeColor: true, injectFavicons: true, injectSW: false, injectResourceHints: true, injectSpeculationRules: true) }}
{% block meta %}
<meta name="description" content="{% block description %}E-Ticket - Plateforme de vente de tickets evenementiels pour associations{% endblock %}">
{% endblock %}
@@ -76,7 +74,6 @@
<meta property="og:image" content="https://ticket.e-cosplay.fr/logo.png">
{% endblock %}
{% endblock %}
{{ pwa() }}
{% block stylesheets %}{% endblock %}
{% block javascripts %}
{{ vite_asset('app.js') }}