Files
kirby-blog/blueprints/pages/blog.yml

31 lines
633 B
YAML

title: Blog
columns:
- width: 2/3
sections:
drafts:
type: pages
status: draft
templates: blog-post
info: "{{ page.created.toDate('Y-m-d @ g:ia') }}"
published:
type: pages
status: published
info: "{{ page.created.toDate('Y-m-d @ g:ia') }}"
- width: 1/3
sections:
options:
type: fields
fields:
postsPerPage:
label: Posts Per Page
type: number
default: 10
line:
type: fields
fields:
line:
type: line
linkLocation: fields/link-location