From 1e57d76eadb2192be2b3d9343d4ddfeccc996bcb Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 27 Dec 2019 13:38:47 +0100 Subject: compiler: exclude output dir from input --- example/.gitignore | 3 +- example/gallery.yaml | 6 ++- example/index.json | 111 --------------------------------------------------- 3 files changed, 6 insertions(+), 114 deletions(-) delete mode 100644 example/index.json (limited to 'example') diff --git a/example/.gitignore b/example/.gitignore index f1212bc..1fcb152 100644 --- a/example/.gitignore +++ b/example/.gitignore @@ -1,2 +1 @@ -items -thumbnails +out diff --git a/example/gallery.yaml b/example/gallery.yaml index fc4bdf9..0a16e59 100644 --- a/example/gallery.yaml +++ b/example/gallery.yaml @@ -1,2 +1,6 @@ -compiler: {} +compiler: + pictureMaxResolution: + width: 1024 + height: 768 + viewer: {} diff --git a/example/index.json b/example/index.json deleted file mode 100644 index d693f7b..0000000 --- a/example/index.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "_comment": "reference gallery index file, manually aggregated", - - "title": "", - "date": "", - "description": "", - "tags": [ - "photographer.nphilou", - "location.germany.berlin", - "books", - "book-shop", - "location.switzerland.ormont-dessus", - "glacier3000", - "time.day", - "weather.foggy", - "forest", - "trees", - "catwalk", - "mountain" - ], - "path": "/", - "thumbnail": null, - "properties": { - "type": "directory", - "items": [ - { - "title": "Book shop", - "date": "2016:12:19T16:48:50+02:00", - "description": "© Philippe NGUYEN", - "tags": [ - "photographer.nphilou", - "location.germany.berlin", - "books", - "book-shop" - ], - "path": "/items/_DSC8808-1.jpg", - "thumbnail": "/thumbnails/_DSC8808-1.jpg", - "properties": { - "type": "image", - "filesize": 987, - "resolution": { "width": 3840, "height": 2160 } - } - }, - { - "title": "Glacier 3000", - "date": "", - "description": "", - "tags": [ - "photographer.nphilou", - "location.switzerland.ormont-dessus", - "glacier3000", - "time.day", - "weather.foggy", - "forest", - "trees", - "catwalk", - "mountain" - ], - "path": "/items/Glacier 3000", - "thumbnail": null, - "properties": { - "type": "directory", - "items": [ - { - "title": "Fog 3000", - "date": "2019:08:10T14:38:47+01:00", - "description": "© Philippe NGUYEN", - "tags": [ - "photographer.nphilou", - "location.switzerland.ormont-dessus", - "glacier3000", - "time.day", - "weather.foggy", - "forest", - "trees" - ], - "path": "/items/Glacier 3000/_DSC5475.jpg", - "thumbnail": "/thumbnails/Glacier 3000/_DSC5475.jpg", - "properties": { - "type": "image", - "filesize": 355, - "resolution": { "width": 3840, "height": 2160 } - } - }, - { - "title": "Foggy catwalk", - "date": " 2019:08:10T16:00:45+01:00", - "description": "© Philippe NGUYEN", - "tags": [ - "photographer.nphilou", - "location.switzerland.ormont-dessus", - "glacier3000", - "time.day", - "weather.foggy", - "catwalk", - "mountain" - ], - "path": "/items/Glacier 3000/_DSC5542.jpg", - "thumbnail": "/thumbnails/Glacier 3000/_DSC5542.jpg", - "properties": { - "type": "image", - "filesize": 447, - "resolution": { "width": 3840, "height": 2160 } - } - } - ] - } - } - ] - } -} -- cgit v1.2.3