aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorpacien2020-02-14 15:39:56 +0100
committerNotkea2020-02-17 21:07:39 +0100
commit395a76bc4193c0c7182f87778458a68d0079e836 (patch)
tree72a4e6fd10ff8053f5a3e7fdbf4f6d63817ac00b /example
parentc3c69b601d834c8df7cba88a0d3149b56cdd5d14 (diff)
downloadldgallery-395a76bc4193c0c7182f87778458a68d0079e836.tar.gz
compiler: metadata sidecar for whole directories
GitHub: closes #3
Diffstat (limited to 'example')
-rw-r--r--example/readme.md2
-rw-r--r--example/src/Glacier 3000/_DSC5475.jpg.yaml2
-rw-r--r--example/src/Glacier 3000/_DSC5542.jpg.yaml2
-rw-r--r--example/src/Glacier 3000/directory.yaml4
-rw-r--r--example/src/directory.yaml1
-rw-r--r--example/src/gallery.yaml2
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
8tags: 8tags:
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
8tags: 8tags:
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
2tags:
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 @@
1compiler: 1compiler:
2 galleryName: Example gallery
3
4 #includedDirectories: ["*"] 2 #includedDirectories: ["*"]
5 #excludedDirectories: [] 3 #excludedDirectories: []
6 4