proboards-website-generator/templates/board.html.j2

29 lines
807 B
Plaintext
Raw Normal View History

2015-05-12 14:47:18 +00:00
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
2015-05-18 14:18:04 +00:00
<link href="thread/static/styles.css" rel="stylesheet" type="text/css" />
2015-05-12 18:18:31 +00:00
<title>{{ title }}</title>
2015-05-12 14:47:18 +00:00
</head>
<body>
2015-05-18 14:36:47 +00:00
<ul>
<li><a href="../boards.html">Boards</a></li>
</ul>
<hr>
2015-05-12 14:47:18 +00:00
{% if board.boards |length > 0 %}
<ul>
{% for board in board.boards %}
<li><a href={{ "../board/" + board.title |url_replacer + ".html" }}>{{ board.title }}</a></li>
2015-05-12 14:47:18 +00:00
{% endfor %}
</ul>
<hr>
{% endif %}
<ul>
{% for thread in board.threads %}
<li><a href={{ "thread/" + thread.title |url_replacer + ".html" }}>{{ thread.title }}</a></li>
2015-05-12 14:47:18 +00:00
{% endfor %}
</ul>
</body>
</html>