Basics to view threads

This commit is contained in:
David Hoppenbrouwers
2022-10-07 13:18:19 +02:00
commit d72fd14c92
11 changed files with 247 additions and 0 deletions

10
templates/subforum.html Normal file
View File

@@ -0,0 +1,10 @@
{% extends 'base.html' %}
{% block content %}
<p>{{ description }}</p>
<ul>
{% for id, title in threads %}
<li><a href="{{ url_for('thread', thread_id = id) }}">{{ title }}</a></li>
{% endfor %}
</ul>
{% endblock %}