tests/demo-project/models/blog-post.ini
raw| 1 | [model] |
| 2 | name = Blog Post |
| 3 | label = {{ this.title }} |
| 4 | hidden = yes |
| 5 | |
| 6 | [fields.title] |
| 7 | label = Title |
| 8 | type = string |
| 9 | |
| 10 | [fields.pub_date] |
| 11 | label = Publication date |
| 12 | type = date |
| 13 | |
| 14 | [fields.summary] |
| 15 | label = Summary |
| 16 | type = string |
| 17 | |
| 18 | [fields.body] |
| 19 | label = Body |
| 20 | type = markdown |
| 21 | |
| 22 | [fields.category] |
| 23 | label = Category |
| 24 | type = string |
| 25 | |
| 26 | [fields.tags] |
| 27 | label = Tags |
| 28 | type = strings |