summaryrefslogtreecommitdiffstats
path: root/templates/activities
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-28 22:34:03 -0700
committerAndrew Godwin2022-11-28 22:34:03 -0700
commit4420507f62bffd38ed9e8ce31a11fa002756143d (patch)
treeaee481716ec8aa59d9bcd7f82bfe8ea94c444c25 /templates/activities
parent0bced8fe174de24ebd3823c93997cb2d2347dfe9 (diff)
downloadtakahe-4420507f62bffd38ed9e8ce31a11fa002756143d.tar.gz
takahe-4420507f62bffd38ed9e8ce31a11fa002756143d.tar.bz2
takahe-4420507f62bffd38ed9e8ce31a11fa002756143d.zip
Show parent post on individual page
Diffstat (limited to 'templates/activities')
-rw-r--r--templates/activities/post.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/activities/post.html b/templates/activities/post.html
index 75b56d8..fd717ad 100644
--- a/templates/activities/post.html
+++ b/templates/activities/post.html
@@ -3,6 +3,9 @@
{% block title %}Post by {{ post.author.name_or_handle }}{% endblock %}
{% block content %}
+ {% if parent %}
+ {% include "activities/_post.html" with post=parent reply=True link_original=False %}
+ {% endif %}
{% include "activities/_post.html" %}
{% for reply in replies %}
{% include "activities/_post.html" with post=reply reply=True link_original=False %}