From ee9d82d0b307dee1c9138babf954a3864a0c2f83 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Wed, 12 Feb 2020 00:33:45 +0100 Subject: example: cleaner examples --- example/src/Glacier 3000/_DSC5475.jpg | Bin 0 -> 363216 bytes example/src/Glacier 3000/_DSC5475.jpg.yaml | 15 +++++++++++++++ example/src/Glacier 3000/_DSC5542.jpg | Bin 0 -> 457873 bytes example/src/Glacier 3000/_DSC5542.jpg.yaml | 15 +++++++++++++++ example/src/Glacier 3000/thumbnail.jpg | Bin 0 -> 457873 bytes example/src/_DSC8808-1.jpg | Bin 0 -> 1010643 bytes example/src/_DSC8808-1.jpg.yaml | 12 ++++++++++++ example/src/gallery.yaml | 26 ++++++++++++++++++++++++++ 8 files changed, 68 insertions(+) create mode 100644 example/src/Glacier 3000/_DSC5475.jpg create mode 100644 example/src/Glacier 3000/_DSC5475.jpg.yaml create mode 100644 example/src/Glacier 3000/_DSC5542.jpg create mode 100644 example/src/Glacier 3000/_DSC5542.jpg.yaml create mode 100644 example/src/Glacier 3000/thumbnail.jpg create mode 100644 example/src/_DSC8808-1.jpg create mode 100644 example/src/_DSC8808-1.jpg.yaml create mode 100644 example/src/gallery.yaml (limited to 'example/src') diff --git a/example/src/Glacier 3000/_DSC5475.jpg b/example/src/Glacier 3000/_DSC5475.jpg new file mode 100644 index 0000000..9835447 Binary files /dev/null and b/example/src/Glacier 3000/_DSC5475.jpg differ diff --git a/example/src/Glacier 3000/_DSC5475.jpg.yaml b/example/src/Glacier 3000/_DSC5475.jpg.yaml new file mode 100644 index 0000000..3454a68 --- /dev/null +++ b/example/src/Glacier 3000/_DSC5475.jpg.yaml @@ -0,0 +1,15 @@ +title: Fog 3000 + +datetime: 2019-08-10T14:38:47+01:00 + +description: > + © Philippe NGUYEN + +tags: + - photographer.nphilou + - location.switzerland.ormont-dessus + - glacier3000 + - time.day + - weather.foggy + - forest + - trees diff --git a/example/src/Glacier 3000/_DSC5542.jpg b/example/src/Glacier 3000/_DSC5542.jpg new file mode 100644 index 0000000..19a716e Binary files /dev/null and b/example/src/Glacier 3000/_DSC5542.jpg differ diff --git a/example/src/Glacier 3000/_DSC5542.jpg.yaml b/example/src/Glacier 3000/_DSC5542.jpg.yaml new file mode 100644 index 0000000..d174911 --- /dev/null +++ b/example/src/Glacier 3000/_DSC5542.jpg.yaml @@ -0,0 +1,15 @@ +title: Foggy catwalk + +datetime: 2019-08-10T16:00:45+01:00 + +description: > + © Philippe NGUYEN + +tags: + - photographer.nphilou + - location.switzerland.ormont-dessus + - glacier3000 + - time.day + - weather.foggy + - catwalk + - mountain diff --git a/example/src/Glacier 3000/thumbnail.jpg b/example/src/Glacier 3000/thumbnail.jpg new file mode 100644 index 0000000..19a716e Binary files /dev/null and b/example/src/Glacier 3000/thumbnail.jpg differ diff --git a/example/src/_DSC8808-1.jpg b/example/src/_DSC8808-1.jpg new file mode 100644 index 0000000..51b43b0 Binary files /dev/null and b/example/src/_DSC8808-1.jpg differ diff --git a/example/src/_DSC8808-1.jpg.yaml b/example/src/_DSC8808-1.jpg.yaml new file mode 100644 index 0000000..b946ff7 --- /dev/null +++ b/example/src/_DSC8808-1.jpg.yaml @@ -0,0 +1,12 @@ +title: Book shop + +datetime: 2016-12-19T16:48:50+02:00 + +description: > + © Philippe NGUYEN + +tags: + - photographer.nphilou + - location.germany.berlin + - books + - book-shop diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml new file mode 100644 index 0000000..ea23d8a --- /dev/null +++ b/example/src/gallery.yaml @@ -0,0 +1,26 @@ +compiler: + galleryName: Example gallery + + #includedDirectories: ["*"] + #excludedDirectories: [] + + includedFiles: + - "*.jpg" + + #excludedFiles: + #- "*.md" + + tagsFromDirectories: 0 # default + + thumbnailMaxResolution: + width: 400 # default + height: 300 # default + + pictureMaxResolution: + width: 1024 + height: 768 + + #jpegExportQuality: 80 # default + + +viewer: {} -- cgit v1.2.3 From c3c69b601d834c8df7cba88a0d3149b56cdd5d14 Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 17 Feb 2020 18:10:10 +0100 Subject: example: remove deprecated option --- example/src/gallery.yaml | 2 -- 1 file changed, 2 deletions(-) (limited to 'example/src') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index ea23d8a..5efbfef 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -20,7 +20,5 @@ compiler: width: 1024 height: 768 - #jpegExportQuality: 80 # default - viewer: {} -- cgit v1.2.3 From 395a76bc4193c0c7182f87778458a68d0079e836 Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 14 Feb 2020 15:39:56 +0100 Subject: compiler: metadata sidecar for whole directories GitHub: closes #3 --- example/src/Glacier 3000/_DSC5475.jpg.yaml | 2 -- example/src/Glacier 3000/_DSC5542.jpg.yaml | 2 -- example/src/Glacier 3000/directory.yaml | 4 ++++ example/src/directory.yaml | 1 + example/src/gallery.yaml | 2 -- 5 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 example/src/Glacier 3000/directory.yaml create mode 100644 example/src/directory.yaml (limited to 'example/src') diff --git a/example/src/Glacier 3000/_DSC5475.jpg.yaml b/example/src/Glacier 3000/_DSC5475.jpg.yaml index 3454a68..dfff6e8 100644 --- a/example/src/Glacier 3000/_DSC5475.jpg.yaml +++ b/example/src/Glacier 3000/_DSC5475.jpg.yaml @@ -7,8 +7,6 @@ description: > tags: - photographer.nphilou - - location.switzerland.ormont-dessus - - glacier3000 - time.day - weather.foggy - forest diff --git a/example/src/Glacier 3000/_DSC5542.jpg.yaml b/example/src/Glacier 3000/_DSC5542.jpg.yaml index d174911..f2c6a94 100644 --- a/example/src/Glacier 3000/_DSC5542.jpg.yaml +++ b/example/src/Glacier 3000/_DSC5542.jpg.yaml @@ -7,8 +7,6 @@ description: > tags: - photographer.nphilou - - location.switzerland.ormont-dessus - - glacier3000 - time.day - weather.foggy - catwalk diff --git a/example/src/Glacier 3000/directory.yaml b/example/src/Glacier 3000/directory.yaml new file mode 100644 index 0000000..44674cf --- /dev/null +++ b/example/src/Glacier 3000/directory.yaml @@ -0,0 +1,4 @@ +# The following tags are applied to all items in the directory +tags: + - location.switzerland.ormont-dessus + - glacier3000 diff --git a/example/src/directory.yaml b/example/src/directory.yaml new file mode 100644 index 0000000..ab81bb2 --- /dev/null +++ b/example/src/directory.yaml @@ -0,0 +1 @@ +title: Example gallery diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index 5efbfef..bef19e0 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -1,6 +1,4 @@ compiler: - galleryName: Example gallery - #includedDirectories: ["*"] #excludedDirectories: [] -- cgit v1.2.3 From 26a85722e74eae23a22350064eed204480bbd032 Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 16 Feb 2020 12:15:08 +0100 Subject: compiler: unify directory special files --- example/src/Glacier 3000/_directory.jpg | Bin 0 -> 457873 bytes example/src/Glacier 3000/_directory.yaml | 4 ++++ example/src/Glacier 3000/directory.yaml | 4 ---- example/src/Glacier 3000/thumbnail.jpg | Bin 457873 -> 0 bytes example/src/_directory.yaml | 1 + example/src/directory.yaml | 1 - 6 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 example/src/Glacier 3000/_directory.jpg create mode 100644 example/src/Glacier 3000/_directory.yaml delete mode 100644 example/src/Glacier 3000/directory.yaml delete mode 100644 example/src/Glacier 3000/thumbnail.jpg create mode 100644 example/src/_directory.yaml delete mode 100644 example/src/directory.yaml (limited to 'example/src') diff --git a/example/src/Glacier 3000/_directory.jpg b/example/src/Glacier 3000/_directory.jpg new file mode 100644 index 0000000..19a716e Binary files /dev/null and b/example/src/Glacier 3000/_directory.jpg differ diff --git a/example/src/Glacier 3000/_directory.yaml b/example/src/Glacier 3000/_directory.yaml new file mode 100644 index 0000000..44674cf --- /dev/null +++ b/example/src/Glacier 3000/_directory.yaml @@ -0,0 +1,4 @@ +# The following tags are applied to all items in the directory +tags: + - location.switzerland.ormont-dessus + - glacier3000 diff --git a/example/src/Glacier 3000/directory.yaml b/example/src/Glacier 3000/directory.yaml deleted file mode 100644 index 44674cf..0000000 --- a/example/src/Glacier 3000/directory.yaml +++ /dev/null @@ -1,4 +0,0 @@ -# The following tags are applied to all items in the directory -tags: - - location.switzerland.ormont-dessus - - glacier3000 diff --git a/example/src/Glacier 3000/thumbnail.jpg b/example/src/Glacier 3000/thumbnail.jpg deleted file mode 100644 index 19a716e..0000000 Binary files a/example/src/Glacier 3000/thumbnail.jpg and /dev/null differ diff --git a/example/src/_directory.yaml b/example/src/_directory.yaml new file mode 100644 index 0000000..ab81bb2 --- /dev/null +++ b/example/src/_directory.yaml @@ -0,0 +1 @@ +title: Example gallery diff --git a/example/src/directory.yaml b/example/src/directory.yaml deleted file mode 100644 index ab81bb2..0000000 --- a/example/src/directory.yaml +++ /dev/null @@ -1 +0,0 @@ -title: Example gallery -- cgit v1.2.3 From 68899f0c1ba4f641c376fda1e51d9694b02b9c5d Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 17 Feb 2020 18:09:20 +0100 Subject: compiler: add a prefix setting for tags generated from parent dirs GitHub: closes #59 --- example/src/gallery.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'example/src') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index bef19e0..3408571 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -8,7 +8,9 @@ compiler: #excludedFiles: #- "*.md" - tagsFromDirectories: 0 # default + tagsFromDirectories: + fromParents: 0 # default + prefix: "" # default thumbnailMaxResolution: width: 400 # default -- cgit v1.2.3 From e42f4e864bac21ed3b19d1869df2cdd4f8c3433c Mon Sep 17 00:00:00 2001 From: pacien Date: Sat, 22 Feb 2020 14:53:03 +0100 Subject: compiler: flatten gallery config GitHub: closes #129 --- example/src/gallery.yaml | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) (limited to 'example/src') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index 3408571..b25b657 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -1,24 +1,22 @@ -compiler: - #includedDirectories: ["*"] - #excludedDirectories: [] +# ldgallery example gallery configuration file - includedFiles: - - "*.jpg" - - #excludedFiles: - #- "*.md" +#includedDirectories: ["*"] +#excludedDirectories: [] - tagsFromDirectories: - fromParents: 0 # default - prefix: "" # default +includedFiles: + - "*.jpg" - thumbnailMaxResolution: - width: 400 # default - height: 300 # default +#excludedFiles: +# - "*.md" - pictureMaxResolution: - width: 1024 - height: 768 +tagsFromDirectories: + fromParents: 0 # default + prefix: "" # default +thumbnailMaxResolution: + width: 400 # default + height: 300 # default -viewer: {} +pictureMaxResolution: + width: 1024 + height: 768 -- cgit v1.2.3 From 20790ffcf740103f59ae41386e6c074ce80f7a02 Mon Sep 17 00:00:00 2001 From: pacien Date: Wed, 26 Feb 2020 02:15:33 +0100 Subject: example: renaming --- example/src/DSC0001.jpg | Bin 0 -> 1010643 bytes example/src/DSC0001.jpg.yaml | 12 ++++++++++++ example/src/Glacier 3000/_DSC5475.jpg | Bin 363216 -> 0 bytes example/src/Glacier 3000/_DSC5475.jpg.yaml | 13 ------------- example/src/Glacier 3000/_DSC5542.jpg | Bin 457873 -> 0 bytes example/src/Glacier 3000/_DSC5542.jpg.yaml | 13 ------------- example/src/Glacier 3000/_directory.jpg | Bin 457873 -> 0 bytes example/src/Glacier 3000/_directory.yaml | 4 ---- example/src/Ormont-Dessus/DSC0002.jpg | Bin 0 -> 457873 bytes example/src/Ormont-Dessus/DSC0002.jpg.yaml | 13 +++++++++++++ example/src/Ormont-Dessus/DSC0003.jpg | Bin 0 -> 363216 bytes example/src/Ormont-Dessus/DSC0003.jpg.yaml | 13 +++++++++++++ example/src/Ormont-Dessus/_directory.jpg | Bin 0 -> 457873 bytes example/src/Ormont-Dessus/_directory.yaml | 3 +++ example/src/_DSC8808-1.jpg | Bin 1010643 -> 0 bytes example/src/_DSC8808-1.jpg.yaml | 12 ------------ 16 files changed, 41 insertions(+), 42 deletions(-) create mode 100644 example/src/DSC0001.jpg create mode 100644 example/src/DSC0001.jpg.yaml delete mode 100644 example/src/Glacier 3000/_DSC5475.jpg delete mode 100644 example/src/Glacier 3000/_DSC5475.jpg.yaml delete mode 100644 example/src/Glacier 3000/_DSC5542.jpg delete mode 100644 example/src/Glacier 3000/_DSC5542.jpg.yaml delete mode 100644 example/src/Glacier 3000/_directory.jpg delete mode 100644 example/src/Glacier 3000/_directory.yaml create mode 100644 example/src/Ormont-Dessus/DSC0002.jpg create mode 100644 example/src/Ormont-Dessus/DSC0002.jpg.yaml create mode 100644 example/src/Ormont-Dessus/DSC0003.jpg create mode 100644 example/src/Ormont-Dessus/DSC0003.jpg.yaml create mode 100644 example/src/Ormont-Dessus/_directory.jpg create mode 100644 example/src/Ormont-Dessus/_directory.yaml delete mode 100644 example/src/_DSC8808-1.jpg delete mode 100644 example/src/_DSC8808-1.jpg.yaml (limited to 'example/src') diff --git a/example/src/DSC0001.jpg b/example/src/DSC0001.jpg new file mode 100644 index 0000000..51b43b0 Binary files /dev/null and b/example/src/DSC0001.jpg differ diff --git a/example/src/DSC0001.jpg.yaml b/example/src/DSC0001.jpg.yaml new file mode 100644 index 0000000..b946ff7 --- /dev/null +++ b/example/src/DSC0001.jpg.yaml @@ -0,0 +1,12 @@ +title: Book shop + +datetime: 2016-12-19T16:48:50+02:00 + +description: > + © Philippe NGUYEN + +tags: + - photographer.nphilou + - location.germany.berlin + - books + - book-shop diff --git a/example/src/Glacier 3000/_DSC5475.jpg b/example/src/Glacier 3000/_DSC5475.jpg deleted file mode 100644 index 9835447..0000000 Binary files a/example/src/Glacier 3000/_DSC5475.jpg and /dev/null differ diff --git a/example/src/Glacier 3000/_DSC5475.jpg.yaml b/example/src/Glacier 3000/_DSC5475.jpg.yaml deleted file mode 100644 index dfff6e8..0000000 --- a/example/src/Glacier 3000/_DSC5475.jpg.yaml +++ /dev/null @@ -1,13 +0,0 @@ -title: Fog 3000 - -datetime: 2019-08-10T14:38:47+01:00 - -description: > - © Philippe NGUYEN - -tags: - - photographer.nphilou - - time.day - - weather.foggy - - forest - - trees diff --git a/example/src/Glacier 3000/_DSC5542.jpg b/example/src/Glacier 3000/_DSC5542.jpg deleted file mode 100644 index 19a716e..0000000 Binary files a/example/src/Glacier 3000/_DSC5542.jpg and /dev/null differ diff --git a/example/src/Glacier 3000/_DSC5542.jpg.yaml b/example/src/Glacier 3000/_DSC5542.jpg.yaml deleted file mode 100644 index f2c6a94..0000000 --- a/example/src/Glacier 3000/_DSC5542.jpg.yaml +++ /dev/null @@ -1,13 +0,0 @@ -title: Foggy catwalk - -datetime: 2019-08-10T16:00:45+01:00 - -description: > - © Philippe NGUYEN - -tags: - - photographer.nphilou - - time.day - - weather.foggy - - catwalk - - mountain diff --git a/example/src/Glacier 3000/_directory.jpg b/example/src/Glacier 3000/_directory.jpg deleted file mode 100644 index 19a716e..0000000 Binary files a/example/src/Glacier 3000/_directory.jpg and /dev/null differ diff --git a/example/src/Glacier 3000/_directory.yaml b/example/src/Glacier 3000/_directory.yaml deleted file mode 100644 index 44674cf..0000000 --- a/example/src/Glacier 3000/_directory.yaml +++ /dev/null @@ -1,4 +0,0 @@ -# The following tags are applied to all items in the directory -tags: - - location.switzerland.ormont-dessus - - glacier3000 diff --git a/example/src/Ormont-Dessus/DSC0002.jpg b/example/src/Ormont-Dessus/DSC0002.jpg new file mode 100644 index 0000000..19a716e Binary files /dev/null and b/example/src/Ormont-Dessus/DSC0002.jpg differ diff --git a/example/src/Ormont-Dessus/DSC0002.jpg.yaml b/example/src/Ormont-Dessus/DSC0002.jpg.yaml new file mode 100644 index 0000000..5b845b6 --- /dev/null +++ b/example/src/Ormont-Dessus/DSC0002.jpg.yaml @@ -0,0 +1,13 @@ +title: Walking towards the unknown + +datetime: 2019-08-10T16:00:45+01:00 + +description: > + © Philippe NGUYEN + +tags: + - photographer.nphilou + - time.day + - weather.foggy + - catwalk + - mountain diff --git a/example/src/Ormont-Dessus/DSC0003.jpg b/example/src/Ormont-Dessus/DSC0003.jpg new file mode 100644 index 0000000..9835447 Binary files /dev/null and b/example/src/Ormont-Dessus/DSC0003.jpg differ diff --git a/example/src/Ormont-Dessus/DSC0003.jpg.yaml b/example/src/Ormont-Dessus/DSC0003.jpg.yaml new file mode 100644 index 0000000..85a88ec --- /dev/null +++ b/example/src/Ormont-Dessus/DSC0003.jpg.yaml @@ -0,0 +1,13 @@ +title: Diffusion + +datetime: 2019-08-10T14:38:47+01:00 + +description: > + © Philippe NGUYEN + +tags: + - photographer.nphilou + - time.day + - weather.foggy + - forest + - trees diff --git a/example/src/Ormont-Dessus/_directory.jpg b/example/src/Ormont-Dessus/_directory.jpg new file mode 100644 index 0000000..19a716e Binary files /dev/null and b/example/src/Ormont-Dessus/_directory.jpg differ diff --git a/example/src/Ormont-Dessus/_directory.yaml b/example/src/Ormont-Dessus/_directory.yaml new file mode 100644 index 0000000..75ad01b --- /dev/null +++ b/example/src/Ormont-Dessus/_directory.yaml @@ -0,0 +1,3 @@ +# The following tags are applied to all items in the directory +tags: + - location.switzerland.ormont-dessus diff --git a/example/src/_DSC8808-1.jpg b/example/src/_DSC8808-1.jpg deleted file mode 100644 index 51b43b0..0000000 Binary files a/example/src/_DSC8808-1.jpg and /dev/null differ diff --git a/example/src/_DSC8808-1.jpg.yaml b/example/src/_DSC8808-1.jpg.yaml deleted file mode 100644 index b946ff7..0000000 --- a/example/src/_DSC8808-1.jpg.yaml +++ /dev/null @@ -1,12 +0,0 @@ -title: Book shop - -datetime: 2016-12-19T16:48:50+02:00 - -description: > - © Philippe NGUYEN - -tags: - - photographer.nphilou - - location.germany.berlin - - books - - book-shop -- cgit v1.2.3 From b468dcbf3343ea251703078ec89d3215116fc2f6 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 25 Feb 2020 19:25:16 +0100 Subject: compiler: re-introduce gallery title --- example/src/gallery.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example/src') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index b25b657..d2f90aa 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -1,5 +1,7 @@ # ldgallery example gallery configuration file +#galleryTitle: "ldgallery" + #includedDirectories: ["*"] #excludedDirectories: [] -- cgit v1.2.3 From c7fa5bd40d0e5c9ea50190a90a0ccfee8ad96c25 Mon Sep 17 00:00:00 2001 From: pacien Date: Thu, 27 Feb 2020 21:05:51 +0100 Subject: viewer: use colon as tag separator instead of dot For consistency with the query language and allowing the use of the very common dot in tags. This also introduces a migration script. GitHub: closes #164 --- example/src/DSC0001.jpg.yaml | 4 ++-- example/src/Ormont-Dessus/DSC0002.jpg.yaml | 6 +++--- example/src/Ormont-Dessus/DSC0003.jpg.yaml | 6 +++--- example/src/Ormont-Dessus/_directory.yaml | 2 +- example/src/gallery.yaml | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'example/src') diff --git a/example/src/DSC0001.jpg.yaml b/example/src/DSC0001.jpg.yaml index b946ff7..cca1379 100644 --- a/example/src/DSC0001.jpg.yaml +++ b/example/src/DSC0001.jpg.yaml @@ -6,7 +6,7 @@ description: > © Philippe NGUYEN tags: - - photographer.nphilou - - location.germany.berlin + - photographer:nphilou + - location:germany:berlin - books - book-shop diff --git a/example/src/Ormont-Dessus/DSC0002.jpg.yaml b/example/src/Ormont-Dessus/DSC0002.jpg.yaml index 5b845b6..a69deb9 100644 --- a/example/src/Ormont-Dessus/DSC0002.jpg.yaml +++ b/example/src/Ormont-Dessus/DSC0002.jpg.yaml @@ -6,8 +6,8 @@ description: > © Philippe NGUYEN tags: - - photographer.nphilou - - time.day - - weather.foggy + - photographer:nphilou + - time:day + - weather:foggy - catwalk - mountain diff --git a/example/src/Ormont-Dessus/DSC0003.jpg.yaml b/example/src/Ormont-Dessus/DSC0003.jpg.yaml index 85a88ec..558f921 100644 --- a/example/src/Ormont-Dessus/DSC0003.jpg.yaml +++ b/example/src/Ormont-Dessus/DSC0003.jpg.yaml @@ -6,8 +6,8 @@ description: > © Philippe NGUYEN tags: - - photographer.nphilou - - time.day - - weather.foggy + - photographer:nphilou + - time:day + - weather:foggy - forest - trees diff --git a/example/src/Ormont-Dessus/_directory.yaml b/example/src/Ormont-Dessus/_directory.yaml index 75ad01b..5b3e0c7 100644 --- a/example/src/Ormont-Dessus/_directory.yaml +++ b/example/src/Ormont-Dessus/_directory.yaml @@ -1,3 +1,3 @@ # The following tags are applied to all items in the directory tags: - - location.switzerland.ormont-dessus + - location:switzerland:ormont-dessus diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index d2f90aa..c4a5077 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -6,14 +6,14 @@ #excludedDirectories: [] includedFiles: - - "*.jpg" + - '*.jpg' #excludedFiles: # - "*.md" tagsFromDirectories: fromParents: 0 # default - prefix: "" # default + prefix: '' # default thumbnailMaxResolution: width: 400 # default -- cgit v1.2.3 From f09e9d9fa29284bd9ae872efe5ba1d526e349011 Mon Sep 17 00:00:00 2001 From: pacien Date: Wed, 26 Feb 2020 22:13:00 +0100 Subject: compiler: add tag inclusion and exclusion globs GitHub: closes #30 --- example/src/gallery.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'example/src') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index c4a5077..dba6b39 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -11,13 +11,16 @@ includedFiles: #excludedFiles: # - "*.md" -tagsFromDirectories: - fromParents: 0 # default - prefix: '' # default +#includedTags: ["*"] +#excludedTags: [] -thumbnailMaxResolution: - width: 400 # default - height: 300 # default +#tagsFromDirectories: +# fromParents: 0 +# prefix: '' + +#thumbnailMaxResolution: +# width: 400 +# height: 300 pictureMaxResolution: width: 1024 -- cgit v1.2.3 From 54790c6c73d7c51ff22cf5e9722b141cdc0249df Mon Sep 17 00:00:00 2001 From: pacien Date: Sat, 29 Feb 2020 16:39:55 +0100 Subject: compiler: add tagCategories setting to gallery.yaml --- example/src/gallery.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example/src') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index dba6b39..b569910 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -14,6 +14,10 @@ includedFiles: #includedTags: ["*"] #excludedTags: [] +tagCategories: + - photographer + - location + #tagsFromDirectories: # fromParents: 0 # prefix: '' -- cgit v1.2.3