Просмотр исходного кода

Added head_title block to standard_layout.html.twig

Change the name of the block to sonata_head_title
Andrej Hudec 11 лет назад
Родитель
Сommit
c00fd9992d
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      Resources/views/standard_layout.html.twig

+ 2 - 0
Resources/views/standard_layout.html.twig

@@ -54,6 +54,7 @@ file that was distributed with this source code.
         {% endblock %}
 
         <title>
+        {% block sonata_head_title %}
             {{ 'Admin'|trans({}, 'SonataAdminBundle') }}
 
             {% if _title is not empty %}
@@ -72,6 +73,7 @@ file that was distributed with this source code.
                     {% endfor %}
                 {% endif %}
             {% endif%}
+        {% endblock %}
         </title>
     </head>
     <body {% block body_attributes %}class="sonata-bc skin-black fixed"{% endblock %}>