diff options
| author | rr- | 2016-07-06 00:07:30 +0200 |
|---|---|---|
| committer | rr- | 2016-07-06 00:07:46 +0200 |
| commit | 99011b02d76954eac455038713158013bd80a135 (patch) | |
| tree | 0ec0a9bd66c141b999d0012e96993924344537fd /client/html/home_featured_post.tpl | |
| parent | 7e62751e4e04dfb895e812ecc46a8dfb9c9beb99 (diff) | |
client/home: fix missing info on featured post
Diffstat (limited to 'client/html/home_featured_post.tpl')
| -rw-r--r-- | client/html/home_featured_post.tpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/html/home_featured_post.tpl b/client/html/home_featured_post.tpl new file mode 100644 index 0000000..d5fb43e --- /dev/null +++ b/client/html/home_featured_post.tpl @@ -0,0 +1,10 @@ +<% if (ctx.featuredPost) { %> + <aside> + Featured post: <%= ctx.makePostLink(ctx.featuredPost.id) %>, + posted + <%= ctx.makeRelativeTime(ctx.featuredPost.creationTime) %> + by + <%= ctx.makeUserLink(ctx.featuredPost.user) %> + </aside> +<% } %> +<div class='post-container'></div> |