flask-htmx-board1/templates/board.html

27 lines
428 B
HTML
Raw Normal View History

2023-07-03 23:18:37 +10:00
{% extends "base.html" %}
{% block content %}
<div class="content">
2023-07-03 23:23:03 +10:00
<p>Вы тут: /{{board_id}}</p>
2023-07-03 23:18:37 +10:00
</div>
<nav>
2023-07-03 23:24:34 +10:00
<a href="/">glavnaya</a>
2023-07-03 23:18:37 +10:00
<br>
Доски:
<div class="boards">
<ul>
{% for board in boards %}
2023-07-03 23:19:54 +10:00
<li><a href="/boards/{{board}}">/{{board}}</a></li>
2023-07-03 23:18:37 +10:00
{% endfor %}
</ul>
</div>
</nav>
2023-07-05 22:00:36 +10:00
<li>
{% include 'posts.html' %}
2023-07-03 23:18:37 +10:00
{% endblock content %}