proboards-website-generator/templates/boards.html.j2
2015-05-12 20:18:31 +02:00

24 lines
632 B
Django/Jinja

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link href="styles.css" rel="stylesheet" type="text/css" />
<title>{{ title }}</title>
</head>
<body>
<ul>
<li><a href="users.html">Users</a></li>
</ul>
<hr>
<ul>
{% for board in boards %}
<li>
<b><a href={{ "board/" + board.title.replace('/', '_').replace(' ', '_').replace('?', '') + ".html" }}>{{ board.title }}</a></b>
<i>{{ board.description }}</i>
</li>
{% endfor %}
</ul>
</body>
</html>