aboutsummaryrefslogtreecommitdiff
path: root/views/partials/posts.html
diff options
context:
space:
mode:
authorFChannel <>2022-05-01 12:13:25 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commite80fe14f7985f9e85bfb9582926acd7891455786 (patch)
tree80f4fb97c3299d94cb590a23be2eb531ec66c3db /views/partials/posts.html
parent2af4a39ac16c6245f0e87ddf3cc137339f6c604f (diff)
fix for parsing reply link and showing images in static folder
Diffstat (limited to 'views/partials/posts.html')
-rw-r--r--views/partials/posts.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/partials/posts.html b/views/partials/posts.html
index a248650..14d4878 100644
--- a/views/partials/posts.html
+++ b/views/partials/posts.html
@@ -106,9 +106,7 @@
{{ $parentId := .Id }}
{{ if .Replies.OrderedItems }}
{{ range .Replies.OrderedItems }}
-
- <!--TODO: fix parse reply link function with other routes mainly getactor-->
- <span id="{{$parentId}}-replyto-{{.Id}}"><!-- fix \{\{ parseReplyLink $board.Actor.Id $opId .Id .Content }} --></span>
+ <span id="{{$parentId}}-replyto-{{.Id}}">{{ parseReplyLink $board.Actor.Id $opId .Id .Content }}</span>
{{ end }}
{{ end }}
<p id="{{ .Id }}-content" style="white-space: pre-wrap; margin: 10px 30px 10px 30px;">{{ parseContent $board.Actor $opId .Content $thread }}</p>