Ensure we get children
This commit is contained in:
parent
aa9132af05
commit
726fe7e133
1
content/projects/contents.lr
Normal file
1
content/projects/contents.lr
Normal file
|
@ -0,0 +1 @@
|
|||
_model: projects
|
|
@ -18,5 +18,4 @@ type = string
|
|||
translate = True
|
||||
|
||||
[children]
|
||||
order_by = sort_key
|
||||
replaced_with = site.query('/projects')
|
||||
|
|
8
models/projects.ini
Normal file
8
models/projects.ini
Normal file
|
@ -0,0 +1,8 @@
|
|||
[model]
|
||||
name = Projects
|
||||
label = Projects
|
||||
protected = yes
|
||||
|
||||
[children]
|
||||
model = project
|
||||
order_by = sort_key
|
Loading…
Reference in a new issue