staging thumbnails

This commit is contained in:
Dominic Ferrando
2025-04-19 18:28:28 -04:00
parent b404ae6d53
commit b785ba0448
9 changed files with 37 additions and 24 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ templ ThreadPost(post database.Post, thread *database.Thread) {
<article id={ fmt.Sprintf("post-%d", post.Id) } class={ getPostClass(isOp) }>
if post.MediaPath != "" {
<div class="post-img-container">
<img src={ fmt.Sprintf("/static/img/posts/%s", post.MediaPath) } class="post-img"/>
<img src={ fmt.Sprintf("/static/img/posts/full/%s", post.MediaPath) } class="post-img"/>
</div>
}
<header class="post-header">