Improve thread subject style catalog preview

This commit is contained in:
Dominic Ferrando
2025-04-19 17:21:08 -04:00
parent 34d3ec5366
commit b404ae6d53
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -76,7 +76,9 @@ templ ThreadsCatalog(previews []CatalogThreadPreview) {
<a href={ templ.URL(preview.ThreadURL) }>
<img class="catalog-preview-img" src={ fmt.Sprintf("/static/img/posts/%s", preview.MediaPath) }/>
</a>
<h1><a href={ templ.URL(preview.ThreadURL) } class="catalog-preview-link">{ preview.Subject }</a></h1>
<h1>
<a href={ templ.URL(preview.ThreadURL) } class="thread-subject catalog-preview-link">{ preview.Subject }</a>
</h1>
<p>
@templ.Raw(util.EnrichPost(preview.Body))
</p>