Update image manifest (1 images)
This commit is contained in:
1 parent
d72e91d9c1
commit
a28201bdf6
3 files changed
+45
-18
No files matched your search
+3
-3
@@ -1,6 +1,6 @@
|
||||
/* Image Library — single-page app, no backend.
|
||||
*
|
||||
* Reads `images.json` (generated by scripts/generate-manifest.mjs), renders a
|
||||
* Reads `images.json` (generated by ./generate-manifest.py), renders a
|
||||
* searchable grid, and copies an image's absolute URL to the clipboard on click.
|
||||
*/
|
||||
(() => {
|
||||
@@ -42,7 +42,7 @@
|
||||
els.manifestInfo.textContent = "";
|
||||
showEmpty(
|
||||
"Could not load images.json",
|
||||
`Run <code>node scripts/generate-manifest.mjs</code> to build the manifest, then reload.`
|
||||
`Run <code>./generate-manifest.py</code> to build the manifest, then reload.`
|
||||
);
|
||||
els.loading.hidden = true;
|
||||
return;
|
||||
@@ -96,7 +96,7 @@
|
||||
if (images.length === 0) {
|
||||
showEmpty(
|
||||
"No images yet",
|
||||
`Drop files into <code>img/</code>, then run <code>node scripts/generate-manifest.mjs</code>.`
|
||||
`Drop files into <code>img/</code>, then run <code>./generate-manifest.py</code>.`
|
||||
);
|
||||
updateCount(0, 0);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user