Converted old blog entries

This commit is contained in:
Felipe M 2016-12-16 00:38:04 +01:00
parent edb5816892
commit 7aecdaf367
83 changed files with 2445 additions and 36 deletions

View file

@ -8,22 +8,22 @@ 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.comments_enabled]
label = Comments enabled
type = boolean
default = true
width = 1/4
[fields.tags]
label = Tags
type = string
width = 1/2
[fields.body]
label = Body
type = markdown

View file

@ -6,6 +6,7 @@ hidden = yes
[children]
model = blog-post
order_by = -pub_date, title
slug_format = {{ (this.pub_date|dateformat('YYYY/MM/dd/') if this.pub_date) ~ this._id }}
[pagination]
enabled = yes