From 7c53f89ccdd92e308d14d069e2e070f7a1c2da26 Mon Sep 17 00:00:00 2001
From: jwansek <eddie.atten.ea29@gmail.com>
Date: Mon, 27 Feb 2023 00:05:41 +0000
Subject: Added q&a page

---
 templates/questions.html.j2 | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 templates/questions.html.j2

(limited to 'templates/questions.html.j2')

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
-- 
cgit v1.2.3