mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-08 12:22:33 +01:00
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 + "")
|
a(href="" + post.images.source + "")
|
||||||
img(src="" + post.images.source + "", alt="")
|
img(src="" + post.images.source + "", alt="")
|
||||||
else
|
else
|
||||||
|
if post.media
|
||||||
if post.media.not_hosted_in_reddit
|
if post.media.not_hosted_in_reddit
|
||||||
if post.media.source === 'YouTube'
|
if post.media.source === 'YouTube'
|
||||||
.video
|
.video
|
||||||
|
Loading…
Reference in New Issue
Block a user