Code cleanup

This commit is contained in:
Dominic Ferrando
2025-04-24 00:14:09 -04:00
parent eb770416d0
commit 27fc9476fa
6 changed files with 85 additions and 78 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ templ PostOriginal(post database.Post, thread database.Thread) {
{ post.MediaPath }
</a>
<div class="post-img-info">
<span>{ util.FormatFileInfo(util.GetPostFileInfo(post.MediaPath)) }</span>
<span>{ util.FormatPostFileInfo(util.GetPostFileInfo(post.MediaPath)) }</span>
</div>
</div>
<img
@@ -146,7 +146,7 @@ templ PostReply(post database.Post, threadContext ThreadContext) {
{ post.MediaPath }
</a>
<div class="post-img-info">
<span>{ util.FormatFileInfo(util.GetPostFileInfo(post.MediaPath)) }</span>
<span>{ util.FormatPostFileInfo(util.GetPostFileInfo(post.MediaPath)) }</span>
</div>
</div>
<img