feat: link to post in preview timestamp

This commit is contained in:
Barış Soner Uşaklı
2025-06-17 09:17:57 -04:00
parent da2597f81c
commit 8c69c6a0c4

View File

@@ -6,7 +6,7 @@
<a href="{{{ if post.user.userslug }}}{config.relative_path}/user/{post.user.userslug}{{{ else }}}#{{{ end }}}">{post.user.username}</a>
</div>
<div>
<span class="timeago text-xs text-secondary lh-1" style="vertical-align: middle;" title="{post.timestampISO}"></span>
<a href="{config.relative_path}/post/{post.pid}" class="timeago text-xs text-secondary lh-1" style="vertical-align: middle;" title="{post.timestampISO}"></a>
</div>
</div>
<div class="content ghost-scrollbar" style="max-height: 300px; overflow-y:auto;">{post.content}</div>