From 4420507f62bffd38ed9e8ce31a11fa002756143d Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Mon, 28 Nov 2022 22:34:03 -0700 Subject: Show parent post on individual page --- templates/activities/post.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates') 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 %} -- cgit v1.2.3