diff --git a/views/components/link.pug b/views/components/link.pug index e61fdf1..7772cee 100644 --- a/views/components/link.pug +++ b/views/components/link.pug @@ -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