{% 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 %}