summaryrefslogtreecommitdiff
path: root/templates/replies/index.jinja
diff options
context:
space:
mode:
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>