Header

In this article

The default header uses tree columns (stacked in mobile):

Desktop:

block
  columns 4
  a["Left"] b["Navigation"]:2 c["Toolbar"]

Mobile:

block
  columns 3
  a["Left"]:3 b["Navigation"]:2 c["Toolbar"]:1

Each column can be customized by overriding the partials:

  • partials/header-left.html
  • partials/mobile-nav.html
  • partials/topnav.html

To fully customize the header override the header partial:

  • partials/header.html

Containers

To add custom widgets to the header, append them to one of the containers:

  • header:left - widget is placed in the left column.
  • toolbar - widget is placed in the right column.
context.addTemplateBlock("toolbar", "awesome-doodad", {
    filename: "partials/awesome-doodad.html",
});

Search

Esc to close Arrow up/down to navigate Enter to select

Select version

Please wait, loading version data...