Create the ability to create blog pages and blog-posts.
This commit is contained in:
30
blueprints/pages/blog.yml
Normal file
30
blueprints/pages/blog.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
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
|
||||
Reference in New Issue
Block a user