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