소스 검색

Merge pull request #2115 from pulzarraider/patch-3

Added head_title block to standard_layout.html.twig
Thomas 11 년 전
부모
커밋
584f8d8318
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 %}>