Add duration label

This commit is contained in:
StevenNMeza 2021-05-24 21:51:02 +02:00
parent 533519df65
commit 6e682b6bc1

View File

@ -8,9 +8,13 @@
if link.is_self_link
a(href="" + link.permalink + "")
img(src="" + link.images.thumb + "", alt="")
if link.duration
span #{secondsToMMSS(link.duration)}
else
a(href=""+ link.url +"", rel="noopener noreferrer")
img(src="" + link.images.thumb + "", alt="")
if link.duration
span #{secondsToMMSS(link.duration)}
else
a(href="" + link.permalink + "")
.no-image no image