Upload Testproject

This commit is contained in:
maste9
2022-02-10 19:37:52 +01:00
parent 5bc18cf773
commit 4dafd4cbfc
16 changed files with 218 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
[model]
name = Blog Post
label = {{ this.title }}
hidden = yes
[fields.title]
label = Title
type = string
size = large
[fields.author]
label = Author
type = string
width = 1/2
[fields.twitter_handle]
label = Twitter Handle
type = string
width = 1/4
addon_label = @
[fields.pub_date]
label = Publication date
type = date
width = 1/4
[fields.body]
label = Body
type = markdown

16
Podcast/models/blog.ini Normal file
View File

@@ -0,0 +1,16 @@
[model]
name = Blog
label = Blog
hidden = yes
[fields.title]
label = Title
type = string
[children]
model = blog-post
order_by = -pub_date, title
[pagination]
enabled = yes
per_page = 10

11
Podcast/models/page.ini Normal file
View File

@@ -0,0 +1,11 @@
[model]
name = Page
label = {{ this.title }}
[fields.title]
label = Title
type = string
[fields.body]
label = Body
type = markdown