summaryrefslogtreecommitdiff
path: root/models/lectures.ini
diff options
context:
space:
mode:
Diffstat (limited to 'models/lectures.ini')
-rw-r--r--models/lectures.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/models/lectures.ini b/models/lectures.ini
new file mode 100644
index 0000000..ddc9eb1
--- /dev/null
+++ b/models/lectures.ini
@@ -0,0 +1,13 @@
+[model]
+name = Lectures
+label = {{ this.title }}
+
+[fields.title]
+label = Title
+type = string
+
+[children]
+model = lecture
+order_by = -date, title
+slug_format = {{ this._id }}
+