ungleich-staticcms/models/blog-post.ini
PCoder 5b6a49943b Page attachments order by id
So, that we can always allocate the first image for background
image
2019-11-20 18:06:45 +05:30

40 lines
533 B
INI

[model]
name = Blog Post
label = {{ this.title }}
hidden = yes
[attachments]
order_by = _id
[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
[fields.abstract]
label = Abstract
type = markdown
[fields.background_image_url]
label = Background Image Url
type = url