aboutsummaryrefslogtreecommitdiff
path: root/templates/threads.html.hbs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2020-11-19 05:16:45 +0000
committerFuwn <[email protected]>2020-11-19 05:16:45 +0000
commit4caa665aa3f323571c8f791588c7e1baeaaf6dc7 (patch)
tree8fa9038d865b726d1d6b9508acd5cd3ef834b691 /templates/threads.html.hbs
parentCreate LICENSE.md (diff)
downloadchan-4caa665aa3f323571c8f791588c7e1baeaaf6dc7.tar.xz
chan-4caa665aa3f323571c8f791588c7e1baeaaf6dc7.zip
repo: :star:
Diffstat (limited to 'templates/threads.html.hbs')
-rw-r--r--templates/threads.html.hbs13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/threads.html.hbs b/templates/threads.html.hbs
new file mode 100644
index 0000000..5a656f7
--- /dev/null
+++ b/templates/threads.html.hbs
@@ -0,0 +1,13 @@
+{{> header }}
+
+{{ #if this }}
+ {{ #each this }}
+ <div class="post" style="width: 420px">
+ <h2>{{ this.name }}</h4>
+ <p>{{ this.comment }}</p>
+ </div>
+ <br>
+ {{ /each }}
+{{ else }}
+ <p>no posts today</p>
+{{ /if }}