fix: align content field names with blueprints, fix API field calls
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s

Content .txt files:
- narrative.txt (×4): Introduction → Intro
- chapter.txt (×3): Text → Body
- geoformat.txt: Intro → Text
- map.txt: move Text content into Intro field

narrative.json.php:
- parseChapter: $chapter->text() → $chapter->body()
- parseMarker: $marker->text() → $marker->body()
- parseMap: $map->text() → $map->intro()
- narrative root: $page->introduction() → $page->intro()

Also commits Kirby content directory rename (1_cohesion-des-mondes → cohesion-des-mondes)
and new _drafts content.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-02-26 17:09:51 +01:00
parent f3c7132044
commit 76dee1b074
93 changed files with 293 additions and 506 deletions

View file

@ -11,7 +11,7 @@ tabs:
type: fields
fields:
blueprint: fields/blueprint
text:
body:
label: Contenu
type: blocks
fieldsets:

View file

@ -15,7 +15,7 @@ tabs:
label: Image de couverture
type: files
multiple: false
text:
body:
label: Contenu
type: blocks
fieldsets:

View file

@ -22,7 +22,7 @@ tabs:
text: "{{ file.coverLabel }}"
multiple: false
width: 1/2
introduction:
intro:
label: Introduction
type: writer
parts: