++penguin comics
This commit is contained in:
parent
7c586e5dcd
commit
e1a56d266a
8 changed files with 116 additions and 7 deletions
21
models/comic.ini
Normal file
21
models/comic.ini
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[model]
|
||||
name = Comic
|
||||
label = {{ this.title }}
|
||||
hidden = yes
|
||||
|
||||
[attachments]
|
||||
order_by = _id
|
||||
|
||||
[fields.subtitle]
|
||||
label = Subtitle
|
||||
type = string
|
||||
size = large
|
||||
|
||||
[fields.pub_date]
|
||||
label = Publication date
|
||||
type = date
|
||||
width = 1/4
|
||||
|
||||
[fields.body]
|
||||
label = Body
|
||||
type = markdown
|
||||
16
models/comics.ini
Normal file
16
models/comics.ini
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[model]
|
||||
name = Comic
|
||||
label = Comic
|
||||
hidden = yes
|
||||
|
||||
[fields.title]
|
||||
label = Title
|
||||
type = string
|
||||
|
||||
[children]
|
||||
model = comic
|
||||
order_by = -pub_date, title
|
||||
|
||||
[pagination]
|
||||
enabled = yes
|
||||
per_page = 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue