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 %}