From c1c1977c24cdb3353f3c4bda983f860524a15899 Mon Sep 17 00:00:00 2001 From: Lightling Date: Mon, 18 Mar 2024 02:10:21 -0400 Subject: [PATCH] titles and defaults for gallery list/view if explicitly null (title set to blank or the phrase null in YAML), it will set untitled; variants will be amended with title and description from parent if they are undefined on the variant --- src/components/galleries/gallery-tile.vue | 9 ++++--- src/routes.ts | 6 ++--- src/types/galleries/galleryList.ts | 2 +- src/utilities/galleries.ts | 30 +++++++++++++++++++++++ src/views/gallery-list.vue | 5 ++-- src/views/gallery-view.vue | 10 +++++--- 6 files changed, 50 insertions(+), 12 deletions(-) create mode 100644 src/utilities/galleries.ts diff --git a/src/components/galleries/gallery-tile.vue b/src/components/galleries/gallery-tile.vue index 3a2c807..b5b4ee3 100644 --- a/src/components/galleries/gallery-tile.vue +++ b/src/components/galleries/gallery-tile.vue @@ -1,9 +1,10 @@