From d7fc7cf2f5e9c11a401ee34ed498bca762c72b79 Mon Sep 17 00:00:00 2001 From: r Date: Wed, 18 Dec 2019 22:14:02 +0000 Subject: Add reply links on thread page --- templates/thread.tmpl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'templates/thread.tmpl') diff --git a/templates/thread.tmpl b/templates/thread.tmpl index 29d702b..e36c5ea 100644 --- a/templates/thread.tmpl +++ b/templates/thread.tmpl @@ -2,12 +2,10 @@ {{template "navigation.tmpl" .NavbarData}}
Thread
-{{range .Context.Ancestors}} +{{range .Statuses}} {{template "status.tmpl" .}} -{{end}} -{{template "status.tmpl" .Status}} -{{if .PostReply}} +{{if eq .ID $.ReplyToID}}
@@ -20,8 +18,6 @@
{{end}} -{{range .Context.Descendants}} -{{template "status.tmpl" .}} {{end}} {{template "footer.tmpl"}} -- cgit v1.2.3