Files
intotheeast-com-content/pages/02.post/post-form.md
T
m038andClaude Opus 4.8 8cf1145e6f feat(post-form): reverse-geocode City/Country + drop hero-image field
Get Location now reverse-geocodes the captured coordinates into City +
Country via BigDataCloud's free client endpoint, filling only blank fields
(never clobbering a manual entry) and appending the resolved place to the
location status. Best-effort — a failure leaves the coordinates intact.

Removes the redundant hero_image field: journal entries render their hero
from the first uploaded photo (entry-journal uses entry.media.images|first),
so an explicit hero filename served no purpose. Stories still use hero_image
but are not posted through this form.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 21:06:01 +02:00

5.0 KiB
Raw Blame History

title, template, access, pageconfig, pagefrontmatter, form
title template access pageconfig pagefrontmatter form
New Entry post-form
site.login
true
slug_field overwrite_mode
date,title false
template published
entry true
name action enctype fields novalidate buttons process
new-entry /post multipart/form-data
name label type multiple destination limit accept
photos Photos (16) filepond true @self 6
image/*
name label type validate
title Title text
required
true
name label type format validate
date Date & Time datetime Y-m-d H:i
required
true
name label type rows validate
content What happened today? textarea 10
required
true
name label type placeholder
lat Latitude text tap "Get Location" below
name label type placeholder
lng Longitude text
name label type placeholder
location_city City text e.g. Kyoto
name label type placeholder
location_country Country text e.g. Japan
name label type default options
weather_desc Weather Condition select
Sunny Partly cloudy Cloudy Foggy Drizzle Rain Snow Thunderstorm
— none — ☀️ Sunny Partly cloudy ☁️ Cloudy 🌫️ Foggy 🌦️ Drizzle 🌧️ Rain ❄️ Snow ⛈️ Thunderstorm
name label type placeholder validate
weather_temp_c Temperature (°C) number tap "Get Weather" or type it
min max
-60 60
name label type default options
transport_mode How I got here select
walking bicycle bus train car plane
— not specified — 🚶 Walking 🚲 Bicycle 🚌 Bus 🚆 Train 🚗 Car ✈️ Plane
name label type classes highlight default options validate
force_connect Force connector line toggle advanced-field 0 0
1 0
Yes No
type
bool
name label type classes highlight default options validate
featured Featured highlight toggle advanced-field 0 0
1 0
Yes No
type
bool
true
type value classes
submit Post Daily btn-post
add_page upload message reset
true true Entry posted successfully! true