tests/demo-project/templates/layout.html
raw| 1 | <!doctype html> |
| 2 | <html> |
| 3 | <head> |
| 4 | {% block head %} |
| 5 | <title>My Website</title> |
| 6 | <meta charset=utf-8> |
| 7 | <link href="{{ '/static/style.css'|url }}" rel="stylesheet"> |
| 8 | {% endblock %} |
| 9 | </head> |
| 10 | <body> |
| 11 | <div class="container"> |
| 12 | {% block body %}{% endblock %} |
| 13 | </div> <!-- /container --> |
| 14 | </body> |
| 15 | </html> |