From 46b41c8e411e8a1ff2847b0ce776f9e37c7a2b7f Mon Sep 17 00:00:00 2001 From: Dominic Ferrando Date: Mon, 21 Apr 2025 15:34:54 -0400 Subject: [PATCH] Small fix --- web/views/thread.templ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/views/thread.templ b/web/views/thread.templ index 0c08c16..522744e 100644 --- a/web/views/thread.templ +++ b/web/views/thread.templ @@ -47,7 +47,6 @@ templ PostOriginal(post database.Post, thread *database.Thread) { } templ PostReply(post database.Post) { - {{ imgInfo := util.GetPostImageInfo(post.MediaPath) }}
@@ -62,6 +61,7 @@ templ PostReply(post database.Post) {
if post.MediaPath != "" { + {{ imgInfo := util.GetPostImageInfo(post.MediaPath) }}
File: