40 lines
526 B
HTML
40 lines
526 B
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
|
||
|
{% block title %}Index{% endblock %}
|
||
|
|
||
|
|
||
|
{% block head %}
|
||
|
{{ super() }}
|
||
|
<style type="text/css">
|
||
|
.important { color: #336699; }
|
||
|
</style>
|
||
|
{% endblock %}
|
||
|
|
||
|
|
||
|
{{title}}
|
||
|
|
||
|
|
||
|
{# content #}
|
||
|
{% block content %}
|
||
|
<h1>Index</h1>
|
||
|
<p class="important">
|
||
|
Welcome to my awesome homepage.
|
||
|
</p>
|
||
|
|
||
|
{% endblock %}
|
||
|
|
||
|
<div></div>
|
||
|
|
||
|
{{name}}
|
||
|
|
||
|
|
||
|
{% for user in users %}
|
||
|
<li>{{ user.username|e }}</li>
|
||
|
|
||
|
|
||
|
{% else %}
|
||
|
<li><em>no users found</em></li>
|
||
|
|
||
|
{% endfor %}
|