aboutsummaryrefslogtreecommitdiffstats
path: root/templates/questions.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/questions.html.j2')
-rw-r--r--templates/questions.html.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/questions.html.j2 b/templates/questions.html.j2
new file mode 100644
index 0000000..2d0eaf2
--- /dev/null
+++ b/templates/questions.html.j2
@@ -0,0 +1,13 @@
+{% extends "template.html.j2" %}
+{% block content %}
+ <h4><a href="https://curiouscat.live/{{ curiouscat_username }}">ask a question!</a></h4>
+ <dl>
+ {% for id_, link, dt, question, answer in qnas %}
+ <dt><a href="{{ link }}">{{ dt.isoformat() }}</a></dt>
+ <dd>
+ <dt class="question"><p>{{ question }}</p></dt>
+ <dd class="answer"><p>{{ answer }}</p></dd>
+ </dd>
+ {% endfor %}
+ </dl>
+{% endblock %}