make sure post has valid media
This commit is contained in:
parent
eaa441de55
commit
7aad960d22
|
@ -103,6 +103,7 @@ html
|
|||
a(href="" + post.images.source + "")
|
||||
img(src="" + post.images.source + "", alt="")
|
||||
else
|
||||
if post.media
|
||||
if post.media.not_hosted_in_reddit
|
||||
if post.media.source === 'YouTube'
|
||||
.video
|
||||
|
|
Loading…
Reference in New Issue