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/Ormont-Dessus/DSC0002.jpg.yaml | 6 +++--- example/src/Ormont-Dessus/DSC0003.jpg.yaml | 6 +++--- example/src/Ormont-Dessus/_directory.yaml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'example/src/Ormont-Dessus') 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 -- cgit v1.2.3