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: