Small fixes

This commit is contained in:
Dominic Ferrando
2025-04-25 22:08:42 -04:00
parent 45b89c5cfd
commit 00cd1cffc7
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ body {
margin: 4px 12px 4px 0; margin: 4px 12px 4px 0;
cursor: pointer; cursor: pointer;
height: auto; height: auto;
max-width: 40%; max-width: 50%;
} }
.post-vid { .post-vid {
+5 -1
View File
@@ -101,7 +101,11 @@ templ PostOriginal(post database.Post, thread database.Thread) {
<img src="/static/media/icons/pin.svg" alt="Pinned" class="icon"/> <img src="/static/media/icons/pin.svg" alt="Pinned" class="icon"/>
} }
</span> </span>
<h1 class="thread-subject">{ thread.Subject } -</h1> <h1 class="thread-subject">
if thread.Subject != "" {
{ thread.Subject } -
}
</h1>
<span class="post-author">{ post.Author }</span> <span class="post-author">{ post.Author }</span>
<span class="post-date">{ post.CreatedAt.Format("01/02/2006") }</span> <span class="post-date">{ post.CreatedAt.Format("01/02/2006") }</span>
<span class="post-time">{ post.CreatedAt.Format("15:04") }</span> <span class="post-time">{ post.CreatedAt.Format("15:04") }</span>