Fix tools page: return empty string instead of nil/404

The tools page function returned nil when no child route matched,
causing a 404. Now returns empty string so the layout renders.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-31 23:26:24 +00:00
parent 833415b170
commit ba6c5de6e7

View File

@@ -608,7 +608,7 @@
:title (unquote (or title "SX Tools"))
(splice-unquote args)))))
(define tools (fn (content) (if (nil? content) nil content)))
(define tools (fn (content) (or content "")))
(define
services