Fix collection content injection regression introduced during engine refactoring

Restore missing content hydration logic in reconstructCollectionItems method that was accidentally removed during the engine file split (b46f643). Collection items were appearing empty instead of displaying original developer content. This fix restores the database-first behavior where content is properly extracted, stored, and injected back into .insertr elements within collection items.
This commit is contained in:
2025-10-26 21:45:03 +01:00
parent 448b66a974
commit 0bad96d866
2 changed files with 18 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ server:
- site_id: "blog"
path: "./demos/blog_enhanced"
source_path: "./demos/blog/"
auto_enhance: false
auto_enhance: true
- site_id: "default"
path: "./demos/default_enhanced"
source_path: "./demos/default"