client/posts: add post view (without comments yet)

This commit is contained in:
rr-
2016-06-06 20:57:22 +02:00
parent e944e89c54
commit 07329d33a4
12 changed files with 531 additions and 26 deletions

View File

@ -12,7 +12,7 @@
<% } else if (ctx.post.type === 'video') { %>
<% if (ctx.post.flags.includes('loop')) { %>
<% if ((ctx.post.flags || []).includes('loop')) { %>
<video id='video' controls loop='loop'>
<% } else { %>
<video id='video' controls>