diff --git a/templates/snippets/layout/question_card.html b/templates/snippets/layout/question_card.html index a4662da..b7c20a9 100644 --- a/templates/snippets/layout/question_card.html +++ b/templates/snippets/layout/question_card.html @@ -3,48 +3,51 @@
-

+

{% if question.from_who %} {{ render_markdown(question.from_who, fromWho=True) }} {% else %} - {{ cfg.anonName }} + {{ cfg.anonName }} {% endif %}

-

{{ formatRelativeTime(str(question.creation_date)) }}

+

{{ formatRelativeTime(str(question.creation_date)) }}

{% with question=question %} {% include 'snippets/q-card-text.html' %} {% endwith %}
-
+
{% if answer.cw %}
{{ answer.cw | render_markdown }}
{{ answer.content | render_markdown }}
{% else %} {{ answer.content | render_markdown }} {% endif %}
-