mirror of
https://codeberg.org/teddit/teddit
synced 2025-01-18 13:00:17 +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