Add the ability to create blog pages and blog-posts.

This commit is contained in:
2026-04-20 09:31:28 +10:00
parent 87999e63f8
commit ac10e95b51
6 changed files with 131 additions and 0 deletions

30
blueprints/pages/blog.yml Normal file
View 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