1
0
Fork 0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2026-03-02 02:31:35 +00:00

Update feeds in background

This commit is contained in:
Cadence Ember 2020-09-23 23:45:02 +12:00
parent 4a3c1e2ac3
commit 643f1e0889
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
9 changed files with 118 additions and 25 deletions

View file

@ -2,7 +2,7 @@ mixin video_list_item(video)
- let link = `/watch?v=${video.videoId}`
a(href=link tabindex="-1").thumbnail
img(src=`https://i.ytimg.com/vi/${video.videoId}/mqdefault.jpg` width=320 height=180 alt="").image
if video.second__lengthText !== undefined
if video.second__lengthText != undefined
span.duration= video.second__lengthText
.info
div.title: a(href=link).title-link= video.title

View file

@ -70,4 +70,4 @@ block content
main.video-error-page
h2 Error
!= message
p: a(href=`https://www.youtube.com/watch?v=${video.videoId}`) Watch on YouTube →
p: a(href=`https://www.youtube.com/watch?v=${video.videoId}#cloudtube`) Watch on YouTube →