Upgrading posts to new data structure

This commit is contained in:
2018-10-29 08:12:34 +09:00
parent 84f650a636
commit 681177b28e
4 changed files with 26 additions and 5 deletions

View File

@ -4,4 +4,4 @@ component Post(post *arn.Post, user *arn.User)
Postable(post.ToPostable(), user, "")
.side-note.mountable
a(href=post.Thread().Link())= post.Thread().Title
a(href=post.Parent().Link())= post.Parent().TitleByUser(user)