Tornado template mode

x
 
1
<!doctype html>
2
<html>
3
    <head>
4
        <title>My Tornado web application</title>
5
    </head>
6
    <body>
7
        <h1>
8
            {{ 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
            {% end %}
16
        </ul>
17
    </body>
18
</html>
19

Mode for HTML with embedded Tornado template markup.

MIME types defined: text/x-tornado