diff options
Diffstat (limited to 'templates/questions.html.j2')
-rw-r--r-- | templates/questions.html.j2 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/questions.html.j2 b/templates/questions.html.j2 index 97edd38..eb58380 100644 --- a/templates/questions.html.j2 +++ b/templates/questions.html.j2 @@ -1,9 +1,13 @@ {% extends "template.html.j2" %} {% block content %} - <h4><a href="https://whispa.sh/@boymoderology">ask a question!</a></h4> + <h4><a href="{{ qnas_link }}">ask a question!</a></h4> <dl> - {% for id_, link, dt, question, answer in qnas %} - <dt><a href="{{ link }}">{{ dt.isoformat() }}</a></dt> + {% for id_, link, dt, question, answer, host in qnas %} + {% if host == "curiouscat" %} + <dt class="qnaheader"><a href="{{ link }}">{{ dt.isoformat() }}</a> - {{ host }}</dt> + {% else %} + <dt class="qnaheader">{{ dt.isoformat() }} - {{ host }}</dt> + {% endif %} <dd> <dt class="question"><p>{{ question }}</p></dt> <dd class="answer"><p>{{ answer }}</p></dd> |