summaryrefslogtreecommitdiff
path: root/templates/replies/index.jinja
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2024-02-09 17:29:15 -0600
committerHombreLaser <sebastian-440@live.com>2024-02-09 17:29:15 -0600
commit2a16eeb8df3fab2715b95efbbdc69b7c03a6a746 (patch)
tree66415fd5491a8b494c5350fd75399bc8d87aff6e /templates/replies/index.jinja
parent0b7111ce7186e64f8f290d0a2d8af7f1c987850f (diff)
Add reply templates
Diffstat (limited to 'templates/replies/index.jinja')
-rw-r--r--templates/replies/index.jinja21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/replies/index.jinja b/templates/replies/index.jinja
new file mode 100644
index 0000000..df0705a
--- /dev/null
+++ b/templates/replies/index.jinja
@@ -0,0 +1,21 @@
+<div id="comment-section" class="comment-section">
+ {% for reply in page.items %}
+ <div id="reply-{{reply.id}}" class="comment">
+ <section class="comment-meta">
+ <div class="author">
+ {% if reply.author is eq('') %}
+ Anonymous said:
+ {% else %}
+ {{ reply.author }} said:
+ {% endif %}
+ </div>
+ <div class="date">
+ {{ reply.created_at.date().isoformat() }}
+ </div>
+ </section>
+ <textarea rows="4" cols="40" disabled="true">
+ {{ reply.content }}
+ </textarea>
+ </div>
+ {% endfor %}
+</div>