++penguin comics

This commit is contained in:
Nico Schottelius 2020-02-05 12:32:31 +01:00
commit e1a56d266a
8 changed files with 116 additions and 7 deletions

21
models/comic.ini Normal file
View 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
View 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