Add daily entry blueprint with location and scheduling fields

This commit is contained in:
2026-06-17 23:53:43 +02:00
parent 74805083e0
commit 4a1c500853
+84
View File
@@ -0,0 +1,84 @@
name: Daily Entry
extends@: default
form:
fields:
tabs:
type: tabs
active: 1
fields:
content:
type: tab
title: Entry
fields:
header.title:
type: text
label: Title
validate:
required: true
header.date:
type: datetime
label: Date
format: 'Y-m-d H:i'
validate:
required: true
content:
type: markdown
label: Content
validate:
required: true
header.hero_image:
type: text
label: 'Hero Image Filename'
help: 'Filename of the main photo for this entry (e.g. photo.jpg). Upload photos via the Media tab.'
location:
type: tab
title: Location
fields:
header.lat:
type: number
label: Latitude
help: 'GPS latitude (for map, Milestone 2)'
placeholder: '48.8566'
step: any
header.lng:
type: number
label: Longitude
help: 'GPS longitude (for map, Milestone 2)'
placeholder: '2.3522'
step: any
publishing:
type: tab
title: Publishing
fields:
header.published:
type: toggle
label: Published
highlight: 1
default: 1
options:
1: 'Yes'
0: 'No'
validate:
type: bool
header.publish_date:
type: datetime
label: 'Publish Date'
help: 'Schedule future publication (leave blank to publish immediately)'
format: 'Y-m-d H:i'
header.unpublish_date:
type: datetime
label: 'Unpublish Date'
help: 'Automatically unpublish at this date/time'
format: 'Y-m-d H:i'