Add playlist link button to watchlist pages; fix LastCinema slug
- Each panel now has a full-width '→ OPEN FULL PLAYLIST ON YOUTUBE' link below the embed — resolves YouTube showing single video instead of playlist - Link inherits panel accent color, inverts on hover - Renamed TheLastCinema-watchlist.md → LastCinema-watchlist.md so build.py generates lastcinema.html (matching hub link) - Regenerated all 5 collection pages Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -254,6 +254,24 @@
|
||||
.panel-teal { --border-color: var(--wl-teal); }
|
||||
.panel-green { --border-color: var(--wl-green); }
|
||||
.panel-toucan { --border-color: var(--wl-toucan); }
|
||||
|
||||
.playlist-link {
|
||||
display: block;
|
||||
padding: 0.85rem 1.25rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9rem;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--border-color);
|
||||
text-decoration: none;
|
||||
border-top: 1px solid var(--border-color);
|
||||
transition: background 100ms ease, color 100ms ease;
|
||||
}
|
||||
|
||||
.playlist-link:hover {
|
||||
background: var(--border-color);
|
||||
color: var(--bg-void);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -288,6 +306,9 @@
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
</div>
|
||||
<a href="https://www.youtube.com/playlist?list=PLx8zUw4PoWHgqy5bD0HcuuTgVqPOSNrHn" target="_blank" rel="noopener" class="playlist-link">
|
||||
→ OPEN FULL PLAYLIST ON YOUTUBE
|
||||
</a>
|
||||
</section>
|
||||
|
||||
<section class="playlist-panel panel-green">
|
||||
@@ -302,6 +323,9 @@
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
</div>
|
||||
<a href="https://www.youtube.com/playlist?list=PLqqTsphh57d5czFm-bK404ripWFI-2a8c" target="_blank" rel="noopener" class="playlist-link">
|
||||
→ OPEN FULL PLAYLIST ON YOUTUBE
|
||||
</a>
|
||||
</section>
|
||||
|
||||
<section class="playlist-panel panel-toucan">
|
||||
@@ -316,6 +340,9 @@
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
</div>
|
||||
<a href="https://www.youtube.com/playlist?list=PLHPWDhsjb4ZFGV_3ezZHcQ142HwppW--Y" target="_blank" rel="noopener" class="playlist-link">
|
||||
→ OPEN FULL PLAYLIST ON YOUTUBE
|
||||
</a>
|
||||
</section>
|
||||
|
||||
<section class="playlist-panel panel-teal">
|
||||
@@ -330,6 +357,9 @@
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
</div>
|
||||
<a href="https://www.youtube.com/playlist?list=PLSpz5qTrO-GnziQviNzmarSRpTbe8OcgQ" target="_blank" rel="noopener" class="playlist-link">
|
||||
→ OPEN FULL PLAYLIST ON YOUTUBE
|
||||
</a>
|
||||
</section>
|
||||
|
||||
<section class="playlist-panel panel-green">
|
||||
@@ -344,6 +374,9 @@
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
</div>
|
||||
<a href="https://www.youtube.com/playlist?list=PLo16qa3p5doyYLVw4JCm7bGBH7nf4vLnV" target="_blank" rel="noopener" class="playlist-link">
|
||||
→ OPEN FULL PLAYLIST ON YOUTUBE
|
||||
</a>
|
||||
</section>
|
||||
|
||||
<section class="playlist-panel panel-toucan">
|
||||
@@ -358,6 +391,9 @@
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
</div>
|
||||
<a href="https://www.youtube.com/playlist?list=PLjf4Mu2Zp3kYtBZB38-huwZA3DJaIcGN_" target="_blank" rel="noopener" class="playlist-link">
|
||||
→ OPEN FULL PLAYLIST ON YOUTUBE
|
||||
</a>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
@@ -366,9 +402,9 @@
|
||||
|
||||
// Lightbox: show on first load
|
||||
const lightbox = document.getElementById('lightbox');
|
||||
if (!localStorage.getItem('watchlist-thelastcinema-seen')) {
|
||||
if (!localStorage.getItem('watchlist-lastcinema-seen')) {
|
||||
lightbox.style.display = 'flex';
|
||||
localStorage.setItem('watchlist-thelastcinema-seen', '1');
|
||||
localStorage.setItem('watchlist-lastcinema-seen', '1');
|
||||
}
|
||||
|
||||
function closeLightbox() { lightbox.style.display = 'none'; }
|
||||
|
||||
Reference in New Issue
Block a user