summaryrefslogtreecommitdiff
path: root/models/exhibitions.ini
diff options
context:
space:
mode:
authorjoak <joak@nospace.at>2020-08-17 11:55:24 +0200
committerjoak <joak@nospace.at>2020-08-17 11:55:24 +0200
commitf60e9ccd5b046101903a79bf6afa0cf87fdd956c (patch)
treedb29d0f55a1bc3347b63341551fa05308554101d /models/exhibitions.ini
init
Diffstat (limited to 'models/exhibitions.ini')
-rw-r--r--models/exhibitions.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/models/exhibitions.ini b/models/exhibitions.ini
new file mode 100644
index 0000000..cb563e3
--- /dev/null
+++ b/models/exhibitions.ini
@@ -0,0 +1,13 @@
+[model]
+name = Exhibitions
+label = {{ this.title }}
+
+[fields.title]
+label = Title
+type = string
+
+[children]
+model = exhibition
+order_by = -date_start, title
+slug_format = {{ this._id }}
+