aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2023-02-27 00:05:41 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2023-02-27 00:05:41 +0000
commit7c53f89ccdd92e308d14d069e2e070f7a1c2da26 (patch)
treeb16a2405e88070abe29b909314cfbd5b3d21d2cf /templates
parent2831eb8af07b1c387f17cf4d9a4b3a1b1aa47bb5 (diff)
downloadeda.gay-7c53f89ccdd92e308d14d069e2e070f7a1c2da26.tar.gz
eda.gay-7c53f89ccdd92e308d14d069e2e070f7a1c2da26.zip
Added q&a page
Diffstat (limited to 'templates')
-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..fd53120
--- /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">{{ question }}</dt>
+ <dd class="answer">{{ answer }}</dd>
+ </dd>
+ {% endfor %}
+ </dl>
+{% endblock %} \ No newline at end of file