Skip to content

Instantly share code, notes, and snippets.

@chrismrgn
Created July 14, 2016 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrismrgn/5a20da8d1a4f7a98788c9db93e384c9c to your computer and use it in GitHub Desktop.
Save chrismrgn/5a20da8d1a4f7a98788c9db93e384c9c to your computer and use it in GitHub Desktop.
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