mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2025-12-12 07:06:31 +00:00
Only show continuous mode if there are videos
This commit is contained in:
parent
e0238d7e7d
commit
d1e2202cae
1 changed files with 3 additions and 2 deletions
|
|
@ -79,6 +79,7 @@ block content
|
||||||
aside(style=continuous ? "display: none" : "")#standard-related-videos.related-videos
|
aside(style=continuous ? "display: none" : "")#standard-related-videos.related-videos
|
||||||
.related-cols
|
.related-cols
|
||||||
h2.related-header Related videos
|
h2.related-header Related videos
|
||||||
|
if video.recommendedVideos.length
|
||||||
.continuous-start
|
.continuous-start
|
||||||
a(href=`/watch?v=${video.videoId}&continuous=1` nofollow) Continuous mode
|
a(href=`/watch?v=${video.videoId}&continuous=1` nofollow) Continuous mode
|
||||||
each r in video.recommendedVideos
|
each r in video.recommendedVideos
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue