The loader now measures throughput from whole tile batches, not just the two probe tiles, and after a session settles inside its deadline it tops up in the background: the needed level if the budget cut it short, then one level above it on capable devices with a fast connection (drawn downscaled), within time and memory caps and never under Save-Data. The chop in the album end card and the page footer is replaced by the LUCIO loader in smoke from lucioIP, falling back to the SVG loader without WebGL. sync-brand.sh now copies lucio-loaders.js and defaults to ../lucioIP. Co-Authored-By: Claude Opus 5.5 <[email protected]>
21 lines
1.1 KiB
HTML
21 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
{{template "head" .}}
|
|
<link rel="preload" href="{{.ManifestURL}}" as="fetch" crossorigin>
|
|
</head>
|
|
<body class="viewer" data-page="album" data-album="{{.Slug}}" data-manifest="{{.ManifestURL}}"{{template "body-data" .}}>
|
|
<a class="skip-link" href="#stage">Skip to photos</a>
|
|
<a class="home-mark" href="/" aria-label="Lucio, all albums"><span class="wordmark-text">Lucio</span></a>
|
|
<main id="stage" class="stage" tabindex="0" aria-label="{{.AlbumTitle}}, photo viewer" aria-keyshortcuts="ArrowLeft ArrowRight Home End Escape i">
|
|
<h1 class="visually-hidden"><span{{with lang .AlbumTitle}} lang="{{.}}"{{end}}>{{.AlbumTitle}}</span>{{if .Subtitle}} · <span{{with lang .Subtitle}} lang="{{.}}"{{end}}>{{.Subtitle}}</span>{{end}}</h1>
|
|
</main>
|
|
<div class="album-fallback">
|
|
<p>{{.Photos}} photos{{if .Date}} · <time>{{.Date}}</time>{{end}}</p>
|
|
<p class="load-error" hidden>This album could not be loaded right now.</p>
|
|
<noscript><p>This album needs JavaScript to draw its photos.</p></noscript>
|
|
<p><a href="/">All albums</a></p>
|
|
</div>
|
|
</body>
|
|
</html>
|