Django template mode <!doctype html> <html> <head> <title>My Django web application</title> </head> <body> <h1> {{ page.title|capfirst }} </h1> <ul class="my-list"> {# traverse a list of items and produce links to their views. #} {% for item in items %} <li> <a href="{% url 'item_view' item.name|slugify %}"> {{ item.name }} </a> </li> {% empty %} <li>You have no items in your list.</li> {% endfor %} </ul> {% comment "this is a forgotten footer" %} <footer></footer> {% endcomment %} </body> </html> x 1 <!doctype html>2 <html>34 <head>5 <title>My Django web application</title>6 </head>78 <body>9 <h1> {{ page.title|capfirst }} </h1>10 <ul class="my-list"> {# traverse a list of items and produce links to their views. #} {% for item in items %}11 <li>12 <a href="{% url 'item_view' item.name|slugify %}"> {{ item.name }} </a>13 </li> {% empty %}14 <li>You have no items in your list.</li> {% endfor %} </ul> {% comment "this is a forgotten footer" %}15 <footer></footer> {% endcomment %} </body>1617 </html>18 Mode for HTML with embedded Django template markup. MIME types defined: text/x-django