summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/admin/config.yml3
-rw-r--r--src/index.html.mustache6
2 files changed, 4 insertions, 5 deletions
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 @@
</header>
{{#galleries}}
- {{#title}}
- <h3>{{title}}</h3>
- {{/title}}
+ {{#display_title}}
+ <h3>{{display_title}}</h3>
+ {{/display_title}}
<div class="gallery">
{{#columns}}
<div class="column">