Skip to content

Commit

Permalink
Merge pull request #482 from woutervandamme/bugfix/twig
Browse files Browse the repository at this point in the history
[GeneratorBundle] Fix for nodemenu in generated twig template
  • Loading branch information
krispypen committed Jun 9, 2015
2 parents 6f01e79 + fd0ca51 commit 3778cd2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>
{% set nodemenu = get_node_menu(htmlLocale,nodetranslation.getNode()) %}
{{ websitetitle | trans }}{% block title %}{% if page is defined and nodemenu.getActiveForDepth(2) is not null %} - {{ get_title_for(page) }}{% endif %}{% endblock %}
</title>

Expand Down

0 comments on commit 3778cd2

Please sign in to comment.