videoBlock.pug 371 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 mixin videoBlock(video = {}) .videoBlock a(href=routes.videoDetail(video.id)) video.videoBlock__thumbnail(src=video.videoFile, controls=true) h4.videoBlock__title=video.title if video.views === 1 h6.videoBlock__views 1 view else h6.videoBlock__views #{video.views} views