Phase 4 M1: Entry enrichment — location, weather, gallery, hero image

This commit is contained in:
2026-06-18 01:10:41 +02:00
parent f1181a07b4
commit d3fcde9b0b
9 changed files with 531 additions and 31 deletions
+6 -2
View File
@@ -4,8 +4,12 @@ date: '2026-06-17 10:00'
template: entry
published: true
hero_image: ''
lat: ''
lng: ''
lat: '52.3676'
lng: '4.9041'
location_city: 'Amsterdam'
location_country: 'Netherlands'
weather_temp_c: 19
weather_desc: 'Partly cloudy'
---
First entry. Bags are packed, passport is ready, the adventure starts here.
+24
View File
@@ -56,6 +56,26 @@ form:
type: text
placeholder: ''
-
name: location_city
label: City
type: text
placeholder: 'e.g. Kyoto'
-
name: location_country
label: Country
type: text
placeholder: 'e.g. Japan'
-
name: weather_temp_c
type: hidden
-
name: weather_desc
type: hidden
buttons:
-
type: submit
@@ -73,6 +93,10 @@ form:
date: '{{ form.value.date }}'
lat: '{{ form.value.lat }}'
lng: '{{ form.value.lng }}'
location_city: '{{ form.value.location_city }}'
location_country: '{{ form.value.location_country }}'
weather_temp_c: '{{ form.value.weather_temp_c }}'
weather_desc: '{{ form.value.weather_desc }}'
-
message: 'Entry posted successfully!'
-