forked from laysense/laysite
Add maintenance and 404 pages, template suites, and MCP skill
This commit is contained in:
@@ -122,7 +122,7 @@ final class McpController
|
||||
try {
|
||||
$data = match ($name) {
|
||||
'list_pages' => $repo->pages(),
|
||||
'get_page' => $this->read($repo, PageDraft::slug($args['slug'] ?? null, [], includeLayouts: true)),
|
||||
'get_page' => $this->read($repo, PageDraft::slug($args['slug'] ?? null, [], includeSpecial: true)),
|
||||
'list_templates' => $this->templates(),
|
||||
'list_designs' => DesignLibrary::all(),
|
||||
'create_draft' => $this->create($repo, $args),
|
||||
|
||||
Reference in New Issue
Block a user