We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a1d1c3 commit 7af1892Copy full SHA for 7af1892
models/blog-categories.ini
@@ -0,0 +1,13 @@
1
+[model]
2
+name = Blog Categories
3
+label = Blog Categories
4
+hidden = yes
5
+protected = yes
6
+
7
+[children]
8
+model = blog-category
9
+order_by = name
10
11
+[fields.title]
12
+label = Title
13
+type = string
models/blog-category.ini
@@ -0,0 +1,11 @@
+name = Blog Category
+label = {{ this.name }}
+replaced_with = site.query(this.parent.parent.path + '/entries').filter(F.categories.contains(this))
+[fields.name]
+label = Name
0 commit comments