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>3 <head>4 <title>My Django web application</title>5 </head>6 <body>7 <h1>8 {{ page.title|capfirst }}9 </h1>10 <ul class="my-list">11 {# traverse a list of items and produce links to their views. #}12 {% for item in items %}13 <li>14 <a href="{% url 'item_view' item.name|slugify %}">15 {{ item.name }}16 </a>17 </li>18 {% empty %}19 <li>You have no items in your list.</li>20 {% endfor %}21 </ul>22 {% comment "this is a forgotten footer" %}23 <footer></footer>24 {% endcomment %}25 </body>26</html>27 Mode for HTML with embedded Django template markup. MIME types defined: text/x-django