Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Very rough test sitemap json file
{
"folder": {
"id": "tcm:1-2-3",
"title": "root",
"topnav": "false",
"level": "0",
"pages": [{
"id": "tcm:1-2-4",
"title": "homepage",
"topnav": "false",
"default": "true"
}],
"folders": [{
"id": "tcm:1-2-5",
"title": "products",
"topnav": "true",
"level": "1",
"pages": [{
"id": "tcm:1-2-6",
"title": "page 1",
"topnav": "false",
"default": "true"
}, {
"id": "tcm:1-2-7",
"title": "page 2",
"topnav": "false"
}]
}, {
"id": "tcm:1-2-8",
"title": "solutions",
"topnav": "true",
"level": "1",
"pages": [{
"id": "tcm:1-2-9",
"title": "page 3",
"topnav": "false",
"default": "true"
}, {
"id": "tcm:1-2-2",
"title": "page 4",
"topnav": "false"
}]
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.