From 4ba10a59ae6f9716fbab1a08005002943ba3c7b8 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 31 Mar 2021 19:14:08 +0200 Subject: [PATCH] update stats --- .env | 1 + config/packages/twig.yaml | 2 ++ templates/core/dashboard/index.html.twig | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.env b/.env index b98bb95..745f6aa 100644 --- a/.env +++ b/.env @@ -35,3 +35,4 @@ MAILER_URL=null://localhost ###< symfony/swiftmailer-bundle ### ASSET_BASE_URL=null +UMAMI_URL= diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index da46d6e..ab7befe 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -4,3 +4,5 @@ twig: paths: '%kernel.project_dir%/templates/core/': Core '%kernel.project_dir%/core/Resources/views/': Core + globals: + umami_url: '%env(UMAMI_URL)%' diff --git a/templates/core/dashboard/index.html.twig b/templates/core/dashboard/index.html.twig index e200811..bba5d2a 100644 --- a/templates/core/dashboard/index.html.twig +++ b/templates/core/dashboard/index.html.twig @@ -4,6 +4,6 @@ {% block body %}
- +
{% endblock %}