diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/questions.html.j2 | 13 | 
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 | 
