aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorpacien2020-02-27 21:05:51 +0100
committerNotkea2020-02-27 21:36:39 +0100
commitc7fa5bd40d0e5c9ea50190a90a0ccfee8ad96c25 (patch)
tree6c524899070301a13c7ce03bc6640d9c266bed71 /example
parent8f041b9f13b4c043acc7720aa4c082583b52ffe1 (diff)
downloadldgallery-c7fa5bd40d0e5c9ea50190a90a0ccfee8ad96c25.tar.gz
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
Diffstat (limited to 'example')
-rw-r--r--example/src/DSC0001.jpg.yaml4
-rw-r--r--example/src/Ormont-Dessus/DSC0002.jpg.yaml6
-rw-r--r--example/src/Ormont-Dessus/DSC0003.jpg.yaml6
-rw-r--r--example/src/Ormont-Dessus/_directory.yaml2
-rw-r--r--example/src/gallery.yaml4
5 files changed, 11 insertions, 11 deletions
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: >
6 © Philippe NGUYEN 6 © Philippe NGUYEN
7 7
8tags: 8tags:
9 - photographer.nphilou 9 - photographer:nphilou
10 - location.germany.berlin 10 - location:germany:berlin
11 - books 11 - books
12 - book-shop 12 - 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: >
6 © Philippe NGUYEN 6 © Philippe NGUYEN
7 7
8tags: 8tags:
9 - photographer.nphilou 9 - photographer:nphilou
10 - time.day 10 - time:day
11 - weather.foggy 11 - weather:foggy
12 - catwalk 12 - catwalk
13 - mountain 13 - 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: >
6 © Philippe NGUYEN 6 © Philippe NGUYEN
7 7
8tags: 8tags:
9 - photographer.nphilou 9 - photographer:nphilou
10 - time.day 10 - time:day
11 - weather.foggy 11 - weather:foggy
12 - forest 12 - forest
13 - trees 13 - 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 @@
1# The following tags are applied to all items in the directory 1# The following tags are applied to all items in the directory
2tags: 2tags:
3 - location.switzerland.ormont-dessus 3 - 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 @@
6#excludedDirectories: [] 6#excludedDirectories: []
7 7
8includedFiles: 8includedFiles:
9 - "*.jpg" 9 - '*.jpg'
10 10
11#excludedFiles: 11#excludedFiles:
12# - "*.md" 12# - "*.md"
13 13
14tagsFromDirectories: 14tagsFromDirectories:
15 fromParents: 0 # default 15 fromParents: 0 # default
16 prefix: "" # default 16 prefix: '' # default
17 17
18thumbnailMaxResolution: 18thumbnailMaxResolution:
19 width: 400 # default 19 width: 400 # default