Added proper post highlight

This commit is contained in:
2017-06-27 00:35:46 +02:00
parent 7c5d0bbcff
commit 81720d7198
4 changed files with 11 additions and 6 deletions

View File

@ -15,7 +15,7 @@ component Dashboard(posts []*arn.Post, following []*arn.User)
h3.widget-title Forums
each post in posts
a.widget-element.ajax(href=post.Thread().Link())
a.widget-element.ajax(href=post.Thread().Link() + "#" + post.ID)
.widget-element-text
Icon(arn.GetForumIcon(post.Thread().Tags[0]))
span= post.Thread().Title