Created
March 4, 2013 02:54
-
-
Save dmouse/5079590 to your computer and use it in GitHub Desktop.
layout base en twig
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
{% extends "layout.html.twig" %} | |
{% block base %} | |
<div id="header"> | |
{% block header %} My WebPage {% endblock %} | |
</div> | |
<div id="content"> | |
{% block content %}{% endblock %} | |
<aside> | |
{% block aside %}{% endblock %} | |
</aside> | |
</div> | |
<div id="footer"> | |
By me | |
</div> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment