Skip to content
Snippets Groups Projects
Commit d912b5d6 authored by Fabrice Gangler's avatar Fabrice Gangler :art:
Browse files

fix(homepage): use WEBAPP_NAME variable environment

parent 47e02f28
No related branches found
No related tags found
No related merge requests found
Pipeline #76474 passed
twig: twig:
file_name_pattern: '*.twig' file_name_pattern: '*.twig'
globals:
app_name: '%env(WEBAPP_NAME)%'
when@test: when@test:
twig: twig:
......
{% extends 'app_base.html.twig' %} {% extends 'app_base.html.twig' %}
{% block title %}Comptoir du Libre{% endblock %} {% block title %}{{ app_name }}{% endblock %}
{% block body %} {% block body %}
<style> <style>
...@@ -8,6 +8,6 @@ ...@@ -8,6 +8,6 @@
</style> </style>
<div class="example-wrapper"> <div class="example-wrapper">
<h1>Comptoir du Libre</h1> <h1>{{ app_name }}</h1>
</div> </div>
{% endblock %} {% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment