szurubooru/client/html/home_featured_post.tpl

8 lines
327 B
Smarty
Raw Normal View History

2016-07-06 09:49:21 +02:00
<div class='post-container'></div>
<% if (ctx.featuredPost) { %>
<aside>
Featured&nbsp;post:&nbsp;<%= ctx.makePostLink(ctx.featuredPost.id, true) %>,<wbr>
posted&nbsp;<%= ctx.makeRelativeTime(ctx.featuredPost.creationTime) %>&nbsp;by&nbsp;<%= ctx.makeUserLink(ctx.featuredPost.user) %>
</aside>
<% } %>