From e0f98cddc7a9b2fc984f208551e82477161eac45 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 11 Jul 2022 23:37:24 +0300 Subject: Attempt #3 --- src/admin/config.yml | 3 +-- src/index.html.mustache | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/admin/config.yml b/src/admin/config.yml index 4228091..c3dad3a 100644 --- a/src/admin/config.yml +++ b/src/admin/config.yml @@ -15,8 +15,7 @@ collections: label: Sorting key (alphabetically first is shown first on page) widget: string - name: display_title - label: Title (if defined, shown on page) - optional: true + label: Displayed title (if no title, type "-") widget: string - name: column_count label: Column count diff --git a/src/index.html.mustache b/src/index.html.mustache index 698e044..5133c9c 100644 --- a/src/index.html.mustache +++ b/src/index.html.mustache @@ -19,9 +19,9 @@ {{#galleries}} - {{#title}} -

{{title}}

- {{/title}} + {{#display_title}} +

{{display_title}}

+ {{/display_title}}