{% from "components/header.html" import header %}
{{
header(
title='Frontend toolkit',
menu=[
{ text: 'Settings', href: '/settings' }
]
)
}}
Sets the main title text in the header
Type: string
Default: <empty>
Sets the link href for the title
Type: string
Default: /
Adds optional menu items to the header.
Items should either be strings, or objects with text
and (optional) href
properties.
Type: array
Default: []