Tests: align cek content-page names with injector output

Load sx/sx/geography/cek/ recursively so content/demo/freeze index.sx
pages bind as ~geography/cek/{content,demo,freeze}. Update docs.sx
cek-page dispatch + test-examples cek:content-pages suite to reference
those real names (were stale ~geography/cek/cek-content etc.).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-22 10:58:17 +00:00
parent ebcb5348ba
commit ce7ad3eead
3 changed files with 14 additions and 16 deletions

View File

@@ -874,7 +874,7 @@
:path "/geography/cek/"
:auth :public
:layout :sx-docs
:content (~layouts/doc :path "/sx/(geography.(cek))" (~geography/cek/cek-content)))
:content (~layouts/doc :path "/sx/(geography.(cek))" (~geography/cek)))
;; ---------------------------------------------------------------------------
;; Bootstrapped page helpers demo
@@ -890,8 +890,12 @@
(case
slug
"demo"
(~geography/cek/cek-demo-content)
:else (~geography/cek/cek-content))))
(~geography/cek/demo)
"freeze"
(~geography/cek/freeze)
"content"
(~geography/cek/content)
:else (~geography/cek))))
;; ---------------------------------------------------------------------------
;; Testing section