docs: add posting pipeline reference and Admin entry blueprint
- posting-pipeline.md: full frontmatter reference, frontend form flow, Admin backend flow, page folder structure - blueprints/entry.yaml: Admin form fields for city, country, lat/lng, weather condition dropdown, temperature, hero image Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
title: 'Daily Entry'
|
||||
'@extends':
|
||||
type: default
|
||||
context: blueprints://pages
|
||||
|
||||
form:
|
||||
fields:
|
||||
tabs:
|
||||
type: tabs
|
||||
active: 1
|
||||
fields:
|
||||
entry:
|
||||
type: tab
|
||||
title: Entry
|
||||
fields:
|
||||
header.location_city:
|
||||
type: text
|
||||
label: City
|
||||
placeholder: 'e.g. Kyoto'
|
||||
help: 'Shown under the entry title on the tracker feed'
|
||||
|
||||
header.location_country:
|
||||
type: text
|
||||
label: Country
|
||||
placeholder: 'e.g. Japan'
|
||||
|
||||
col1:
|
||||
type: columns
|
||||
fields:
|
||||
col1_lat:
|
||||
type: column
|
||||
fields:
|
||||
header.lat:
|
||||
type: text
|
||||
label: Latitude
|
||||
placeholder: '35.0116'
|
||||
col1_lng:
|
||||
type: column
|
||||
fields:
|
||||
header.lng:
|
||||
type: text
|
||||
label: Longitude
|
||||
placeholder: '135.7681'
|
||||
|
||||
col2:
|
||||
type: columns
|
||||
fields:
|
||||
col2_weather:
|
||||
type: column
|
||||
fields:
|
||||
header.weather_desc:
|
||||
type: select
|
||||
label: Weather Condition
|
||||
default: ''
|
||||
options:
|
||||
'': '— none —'
|
||||
'Sunny': '☀️ Sunny'
|
||||
'Partly cloudy': '⛅ Partly cloudy'
|
||||
'Cloudy': '☁️ Cloudy'
|
||||
'Foggy': '🌫️ Foggy'
|
||||
'Drizzle': '🌦️ Drizzle'
|
||||
'Rain': '🌧️ Rain'
|
||||
'Snow': '❄️ Snow'
|
||||
'Thunderstorm': '⛈️ Thunderstorm'
|
||||
|
||||
col2_temp:
|
||||
type: column
|
||||
fields:
|
||||
header.weather_temp_c:
|
||||
type: number
|
||||
label: 'Temperature (°C)'
|
||||
placeholder: '19'
|
||||
validate:
|
||||
min: -60
|
||||
max: 60
|
||||
|
||||
header.hero_image:
|
||||
type: text
|
||||
label: Hero Image Filename
|
||||
placeholder: 'photo.jpg'
|
||||
help: 'Filename of the hero/header image. Leave blank to use the first uploaded image.'
|
||||
Reference in New Issue
Block a user