summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_gallery/testigalleria.json4
-rw-r--r--src/admin/config.yml8
2 files changed, 6 insertions, 6 deletions
diff --git a/_gallery/testigalleria.json b/_gallery/testigalleria.json
index 4744e51..79c7c22 100644
--- a/_gallery/testigalleria.json
+++ b/_gallery/testigalleria.json
@@ -12,6 +12,6 @@
"src_hiq": "/media/halo.png"
}
],
- "id": "01-testigalleria",
- "title": "Testigalleria"
+ "display_title": "Testigalleria",
+ "title": "01-testigalleria"
} \ No newline at end of file
diff --git a/src/admin/config.yml b/src/admin/config.yml
index 61ade92..ccb392e 100644
--- a/src/admin/config.yml
+++ b/src/admin/config.yml
@@ -6,16 +6,16 @@ public_folder: /media
collections:
- name: gallery
label: Gallery
- identifier_name: id
+ identifier_name: title
folder: _gallery
extension: json
create: true
fields:
- - name: id
+ - name: title
label: Sorting key (alphabetically first is shown first on page)
widget: string
- - name: title
- label: Title
+ - name: display_title
+ label: Title (if defined, shown on page)
widget: string
- name: column_count
label: Column count