Sfoglia il codice sorgente

fix bug: definir page_title si pas fait avant

Bastien Sevajol 11 anni fa
parent
commit
94b3820dc1

+ 3 - 0
src/Muzich/HomeBundle/Resources/views/Home/index.html.twig Vedi File

@@ -3,6 +3,9 @@
3 3
 {% if login is not defined %}
4 4
   {% set login = false %}
5 5
 {% endif %}
6
+{% if page_title is not defined %}
7
+  {% set page_title = null %}
8
+{% endif %}
6 9
 
7 10
 {% block title %}{% if page_title %}{{ page_title }}{% else %}{{ 'title.home'|trans({}, 'userui') }}{% endif %}{% endblock %}
8 11
 {% block mainbox_classes %}mainbox_margintop mainbox_nopadding{% endblock %}

+ 0 - 0
web/sitemap.xml Vedi File