浏览代码

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