blob: eb583800513f74eec7a5f1114a765b5c42cd9d97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{% extends "template.html.j2" %}
{% block content %}
<h4><a href="{{ qnas_link }}">ask a question!</a></h4>
<dl>
{% 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>
</dd>
{% endfor %}
</dl>
{% endblock %}
|