summaryrefslogtreecommitdiff
path: root/models/works.ini
diff options
context:
space:
mode:
Diffstat (limited to 'models/works.ini')
-rw-r--r--models/works.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/models/works.ini b/models/works.ini
new file mode 100644
index 0000000..9b13bc7
--- /dev/null
+++ b/models/works.ini
@@ -0,0 +1,14 @@
+[model]
+name = Works
+label = {{ this.title }}
+
+[fields.title]
+label = Title
+type = string
+
+[children]
+model = work
+order_by = -year_start, title
+slug_format = {{ this._id }}
+
+