Skip to content
Myr

Add closing html tag

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Alex Couper · committed by Alex Couper · parent bfeee75 · Browse files · 1 file+9 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+9 added−8 removed

  • other:+9 added−8 removed

1 file+9 added−8 removed

modified:docs/patterns/templateinheritance.rst+9 added-8 removed
26 unmodified lines
27 <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">28 <title>{% block title %}{% endblock %} - My Webpage</title>29 {% endblock %}30 </head>31 <body>32 <div id="content">{% block content %}{% endblock %}</div>33 <div id="footer">34 {% block footer %}35 &copy; Copyright 2010 by <a href="http://domain.invalid/">you</a>.36 {% endblock %}37 </div>38 </body>31 <body>32 <div id="content">{% block content %}{% endblock %}</div>33 <div id="footer">34 {% block footer %}35 &copy; Copyright 2010 by <a href="http://domain.invalid/">you</a>.36 {% endblock %}37 </div>38 </body>39 </html>4041In this example, the ``{% block %}`` tags define four blocks that child templates42can fill in. All the `block` tag does is tell the template engine that a43child template may override those portions of the template.
27 unmodified lines