diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2022-07-11 23:27:34 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2022-07-11 23:27:34 +0300 |
| commit | cd4d9d4bf4f8dbae5e76304fe955c205c3cdb18c (patch) | |
| tree | da8f9c64f9cd47da16d23d2fabe55d572557d533 | |
| parent | be6290437f4eec77715f0c28bd9576d685ed969b (diff) | |
Try to fix sorting again
| -rw-r--r-- | _gallery/testigalleria.json | 4 | ||||
| -rw-r--r-- | src/admin/config.yml | 8 |
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
|
