From f60e9ccd5b046101903a79bf6afa0cf87fdd956c Mon Sep 17 00:00:00 2001 From: joak Date: Mon, 17 Aug 2020 11:55:24 +0200 Subject: init --- models/works.ini | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 models/works.ini (limited to 'models/works.ini') 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 }} + + -- cgit v1.2.3