Django template mode

x
 
1
<!doctype html>
2
<html>
3
    <head>
4
        <title>My Django web application</title>
5
    </head>
6
    <body>
7
        <h1>
8
            {{ page.title }}
9
        </h1>
10
        <ul class="my-list">
11
            {% for item in items %}
12
                <li>{% item.name %}</li>
13
            {% empty %}
14
                <li>You have no items in your list.</li>
15
            {% endfor %}
16
        </ul>
17
    </body>
18
</html>
19

Mode for HTML with embedded Django template markup.

MIME types defined: text/x-django