added display of attachment presence to post

This commit is contained in:
2026-01-19 22:54:28 -07:00
parent 309d7dc9d1
commit 652cdf8477
5 changed files with 51 additions and 0 deletions
+2
View File
@@ -106,12 +106,14 @@
{{ post_text := "" }}
{{ post_overrideLine := "" }}
{{ post_overrideLink := "" }}
{{ post_attach := nil }}
{{ range i, p := posts }}
{{ post_cur = p }}
{{ post_userName = post_getUserName(p, .) }}
{{ post_text = post_getText(p, .) }}
{{ post_overrideLine = post_getOverrideLine(p, .) }}
{{ post_overrideLink = post_getOverrideLink(p, post_topicPermalink) }}
{{ post_attach = post_getAttachmentInfo(p, .) }}
{{ include "singlepost.jet" }}
{{ if advancedControls }}
<div class="flex flex-col gap-2">