Skip to main content

Going further: Hamburger navigation

If you have a more than one level of items, the schema will cover that as well. E.g. if you need to create a hamburger navigation with deeper levels:

Create source Enterspeed

The schema will automatically include that in the output:

{
"meta": {
"status": 200,
"redirect": null,
"missingViewReferences": []
},
"views": {
"mainNavigation": {
"children": [
{
"title": "Home",
"children": []
},
{
"title": "Books",
"children": [
{
"title": "Book 1",
"children": [
{
"title": "Page 1",
"children": [
{
"title": "Paragraph 1",
"children": []
},
{
"title": "Paragraph 2",
"children": []
}
]
}
]
},
{
"title": "Book 2",
"children": []
}
]
}
]
}
}
}