diff --git a/examples/official-site/sqlpage/migrations/01_documentation.sql b/examples/official-site/sqlpage/migrations/01_documentation.sql index ccb180e40..8defcd484 100644 --- a/examples/official-site/sqlpage/migrations/01_documentation.sql +++ b/examples/official-site/sqlpage/migrations/01_documentation.sql @@ -1585,7 +1585,7 @@ You see the [page layouts demo](./examples/layouts.sql) for a live example of th ('shell', ' This example shows how to set menu items as active in the navigation, so that they are highlighted in the nav bar. -In this example you can see that two menu items are created, "Home" and "About" and the "Home" tab is marked as active. +In this example you can see that two menu items are created, "Home" and "About" and the "Home" tab is marked as active. These items are separated by a divider. ', json('[{ "component": "shell", @@ -1594,6 +1594,7 @@ In this example you can see that two menu items are created, "Home" and "About" "link": "/", "menu_item": [ {"title": "Home", "active": true}, + {"divider": true}, {"title": "About"} ] }]')), diff --git a/sqlpage/templates/shell.handlebars b/sqlpage/templates/shell.handlebars index 0e1c7a8ed..51d023aa3 100644 --- a/sqlpage/templates/shell.handlebars +++ b/sqlpage/templates/shell.handlebars @@ -1,241 +1,243 @@ - - -
- -