Skip to content

Commit

Permalink
feat(page-types): update manifest page types format
Browse files Browse the repository at this point in the history
  • Loading branch information
kchung committed Sep 30, 2024
1 parent ed6b6d4 commit 840a945
Showing 1 changed file with 40 additions and 22 deletions.
62 changes: 40 additions & 22 deletions theme/editor/manifest.html.twig
Original file line number Diff line number Diff line change
@@ -1,38 +1,56 @@
{
"page_types": {
"category": {
"page_types": [
{
"name": "Category pages",
"type": "category",
"parameters": {
"pages": [
"category"
],
"templates": [
"store/category"
],
"route_parameters": {
"id": "square_online_id",
"name": "name"
}
},
"item": {
"name": "Product pages",
{
"name": "Item pages",
"type": "item",
"parameters": {
"pages": [
"item"
],
"templates": [
"store/item"
],
"route_parameters": {
"id": "square_online_id",
"name": "name"
}
},
"store-locator": {
"name": "Store pages"
},
"search": {
"name": "Store pages"
},
"order": {
"name": "Store pages"
},
"shop": {
{
"name": "Store pages",
"templates": [
"store/locations",
"store/search",
"store/order"
],
"pages": [
"store-locator",
"search",
"order"
],
},
"500": {
"name": "Core pages"
},
"404": {
"name": "Core pages"
{
"name": "Core pages",
"templates": [
"store/500",
"store/404"
],
"pages": [
"500",
"404"
]
}
}
]
}

0 comments on commit 840a945

Please sign in to comment.