proboards-website-generator/templates/boards.html.j2
Sebastian Hugentobler 07beadbfb9 use seperate css file
2015-05-18 16:18:04 +02:00

24 lines
652 B
Django/Jinja

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link href="board/thread/static/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>