From caefb042cdd5f074a03bbedb0301d572dcc20849 Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Mon, 3 Jul 2023 23:22:11 +1000 Subject: [PATCH] some structure --- templates/board.html | 7 +++++-- templates/thread.html | 7 ------- 2 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 templates/thread.html diff --git a/templates/board.html b/templates/board.html index d25ef3e..93274b9 100644 --- a/templates/board.html +++ b/templates/board.html @@ -13,7 +13,6 @@
@@ -28,7 +27,11 @@ - {% include 'thread.html' %} + {% for thread in threads %} + + {{thread}} + + {% endfor %} diff --git a/templates/thread.html b/templates/thread.html deleted file mode 100644 index 989b309..0000000 --- a/templates/thread.html +++ /dev/null @@ -1,7 +0,0 @@ -{% if threads|length>0 %} - {% for thread in threads %} - - {{thread}} - - {% endfor %} -{% endif %} \ No newline at end of file