multisite-cms-mcp 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -88,13 +88,14 @@ Get code examples for specific patterns.
|
|
|
88
88
|
|
|
89
89
|
**Parameters:**
|
|
90
90
|
- `exampleType` (string): One of:
|
|
91
|
-
- `manifest_basic`, `manifest_custom_paths`
|
|
91
|
+
- `manifest_basic`, `manifest_custom_paths`, `manifest_minimal_with_ui`
|
|
92
92
|
- `blog_index_template`, `blog_post_template`
|
|
93
93
|
- `team_template`, `downloads_template`
|
|
94
94
|
- `authors_template`, `author_detail_template`
|
|
95
95
|
- `custom_collection_template`
|
|
96
96
|
- `form_handling`, `asset_paths`, `data_edit_keys`
|
|
97
97
|
- `each_loop`, `conditional_if`, `nested_fields`, `featured_posts`
|
|
98
|
+
- `parent_context`, `equality_comparison`
|
|
98
99
|
|
|
99
100
|
### `get_conversion_guide`
|
|
100
101
|
Get the complete conversion documentation.
|
|
@@ -102,6 +103,30 @@ Get the complete conversion documentation.
|
|
|
102
103
|
**Parameters:**
|
|
103
104
|
- `section` (string, optional): One of: `full`, `analysis`, `structure`, `manifest`, `templates`, `tokens`, `forms`, `assets`, `checklist`
|
|
104
105
|
|
|
106
|
+
## CMS Template Configuration
|
|
107
|
+
|
|
108
|
+
Templates can be configured two ways:
|
|
109
|
+
|
|
110
|
+
### 1. In manifest.json (during package creation)
|
|
111
|
+
```json
|
|
112
|
+
{
|
|
113
|
+
"cmsTemplates": {
|
|
114
|
+
"blogIndex": "templates/blog_index.html",
|
|
115
|
+
"blogIndexPath": "/blog",
|
|
116
|
+
"blogPost": "templates/blog_post.html",
|
|
117
|
+
"blogPostPath": "/blog"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### 2. Via Settings UI (after upload)
|
|
123
|
+
Go to **Dashboard → Settings → CMS Templates** to:
|
|
124
|
+
- Select which uploaded page serves as each template type
|
|
125
|
+
- Configure custom URL paths for each CMS section
|
|
126
|
+
- Changes take effect immediately
|
|
127
|
+
|
|
128
|
+
This allows for a faster workflow: upload pages first, then configure templates in the UI.
|
|
129
|
+
|
|
105
130
|
## Workflow Example
|
|
106
131
|
|
|
107
132
|
When converting a website, an AI agent can:
|
|
@@ -119,9 +144,9 @@ When converting a website, an AI agent can:
|
|
|
119
144
|
- **Correct field names** - No more guessing `{{title}}` vs `{{name}}`
|
|
120
145
|
- **Triple brace reminders** - Ensures rich text uses `{{{...}}}`
|
|
121
146
|
- **Structure validation** - Confirms package layout is correct
|
|
122
|
-
- **
|
|
147
|
+
- **Settings UI support** - Templates can be configured after upload
|
|
148
|
+
- **Editor warnings** - Detects unconfigured CMS paths
|
|
123
149
|
|
|
124
150
|
## License
|
|
125
151
|
|
|
126
152
|
MIT
|
|
127
|
-
|
package/package.json
CHANGED