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

@ -1,5 +1,5 @@
component Postable(post arn.Postable, highlightAuthorID string)
.post.mountable(data-highlight=post.Author().ID == highlightAuthorID)
.post.mountable(id=post.ID(), data-highlight=post.Author().ID == highlightAuthorID)
.post-author
Avatar(post.Author())