In other words, we just told Maglev to generate a section named navbar_01 which will have a logo and a list of navbar items.
Make sure you added the navbars category in your theme.yml file.
Tweak the section definition
Open the app/theme/sections/navbar_01.yml file with your code editor.
Since we want all the pages created by the content editors from the editor UI to share the same content, we've to uncomment the line about the site_scoped attribute.
app/theme/sections/navbar_01.yml
# Name of the section displayed in the editor UI
name: "Navbar 01"
...
site_scoped: true
....
blocks_label: "Navbar items"
...
Next, we want the link for navbar item to have a text that will be modified by the content editor. We could also have appended a text setting to the navbar_item block type but there is a simpler way: using the with_text option of the link setting type.
app/theme/sections/navbar_01.yml
# Name of the section displayed in the editor UI
name: "Navbar 01"
...
blocks:
- name: "Navbar item"
type: navbar_item
settings:
- label: "Link"
id: link
type: link
with_text: true
default: "#"
...
Then, in order to test our section with non fake content, we will provide some sample content. It's easily done with uncommenting and modifying the last part of the YML file.