diff options
author | pacien | 2020-02-14 15:39:56 +0100 |
---|---|---|
committer | Notkea | 2020-02-17 21:07:39 +0100 |
commit | 395a76bc4193c0c7182f87778458a68d0079e836 (patch) | |
tree | 72a4e6fd10ff8053f5a3e7fdbf4f6d63817ac00b /example | |
parent | c3c69b601d834c8df7cba88a0d3149b56cdd5d14 (diff) | |
download | ldgallery-395a76bc4193c0c7182f87778458a68d0079e836.tar.gz |
compiler: metadata sidecar for whole directories
GitHub: closes #3
Diffstat (limited to 'example')
-rw-r--r-- | example/readme.md | 2 | ||||
-rw-r--r-- | example/src/Glacier 3000/_DSC5475.jpg.yaml | 2 | ||||
-rw-r--r-- | example/src/Glacier 3000/_DSC5542.jpg.yaml | 2 | ||||
-rw-r--r-- | example/src/Glacier 3000/directory.yaml | 4 | ||||
-rw-r--r-- | example/src/directory.yaml | 1 | ||||
-rw-r--r-- | example/src/gallery.yaml | 2 |
6 files changed, 7 insertions, 6 deletions
diff --git a/example/readme.md b/example/readme.md index e455f03..eafdaf5 100644 --- a/example/readme.md +++ b/example/readme.md | |||
@@ -14,9 +14,11 @@ Content | |||
14 | ├── _DSC8808-1.jpg.yaml -- its associated sidecar metadata file | 14 | ├── _DSC8808-1.jpg.yaml -- its associated sidecar metadata file |
15 | ├── Glacier 3000 -- a directory grouping gallery items | 15 | ├── Glacier 3000 -- a directory grouping gallery items |
16 | │ ├── thumbnail.jpg -- a thumbnail for the "Glacier 3000" directory | 16 | │ ├── thumbnail.jpg -- a thumbnail for the "Glacier 3000" directory |
17 | │ ├── directory.yaml -- sidecar metadata file for the "Glacier 3000" directory | ||
17 | │ ├── _DSC5475.jpg | 18 | │ ├── _DSC5475.jpg |
18 | │ ├── _DSC5475.jpg.yaml | 19 | │ ├── _DSC5475.jpg.yaml |
19 | │ ├── _DSC5542.jpg | 20 | │ ├── _DSC5542.jpg |
20 | │ └── _DSC5542.jpg.yaml | 21 | │ └── _DSC5542.jpg.yaml |
22 | ├── directory.yaml -- sidecar metadata file for the root directory | ||
21 | └── gallery.yaml -- gallery settings file | 23 | └── gallery.yaml -- gallery settings file |
22 | ``` | 24 | ``` |
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: > | |||
7 | 7 | ||
8 | tags: | 8 | tags: |
9 | - photographer.nphilou | 9 | - photographer.nphilou |
10 | - location.switzerland.ormont-dessus | ||
11 | - glacier3000 | ||
12 | - time.day | 10 | - time.day |
13 | - weather.foggy | 11 | - weather.foggy |
14 | - forest | 12 | - 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: > | |||
7 | 7 | ||
8 | tags: | 8 | tags: |
9 | - photographer.nphilou | 9 | - photographer.nphilou |
10 | - location.switzerland.ormont-dessus | ||
11 | - glacier3000 | ||
12 | - time.day | 10 | - time.day |
13 | - weather.foggy | 11 | - weather.foggy |
14 | - catwalk | 12 | - 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 @@ | |||
1 | # The following tags are applied to all items in the directory | ||
2 | tags: | ||
3 | - location.switzerland.ormont-dessus | ||
4 | - 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 @@ | |||
1 | compiler: | 1 | compiler: |
2 | galleryName: Example gallery | ||
3 | |||
4 | #includedDirectories: ["*"] | 2 | #includedDirectories: ["*"] |
5 | #excludedDirectories: [] | 3 | #excludedDirectories: [] |
6 | 4 | ||