Created
May 27, 2012 15:22
-
-
Save lstrojny/2814718 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# layout.html.twig #} | |
<html> | |
<head> | |
{% block head %}{% endblock head %} | |
</head> | |
<body> | |
{% block body %}{% endblock body %} | |
</body> | |
</html> | |
{# page.html.twig #} | |
{% extend "layout.html.twig" %} | |
{% block body %} | |
{{ change_something_in_head_block_of_layout() }} | |
{% endblock body %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment