mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-22 14:59:26 +01:00
Add duration label
This commit is contained in:
parent
533519df65
commit
6e682b6bc1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user