This documentation refers to a Gravstrap obsolete release. Please consider to upgrade to the new release

The Gravstrap Page header component handles the Bootstrap Page header component.

The pageheader component is defined by the following Yaml code:

gravstrap:
    pageheader:        
        # Add as many pageheader as you need
        pageheader1:
            title: Example page header
            subtitle: Subtext for header

This code must be added to the page where you need to display the component.

title property

The title mandatory property defines the page header main title.

subtitle property

The subtitle mandatory property defines the page header sub title.

Render the pageheader component

Add the following code to the template where you need to render the pageheader component:

{{ gravstrap.pageheader1 }}

Next Post Previous Post