{{ govukOneLoginServiceHeader({ signOutLink: "/test"}) }}
{{ govukOneLoginServiceHeader({
signOutLink: "/test",
serviceNavigationParams: {
navigation: [
{
href: "#navigation1",
text: "Navigation item 1"
},{
href: "#navigation2",
text: "Navigation item 2",
active: true
},{
href: "#navigation3",
text: "Navigation item 3"
}],
serviceName: "A very useful service with a relatively long name",
navigationLabel: "Test label"
}
})}}
The code above is for reference for Nunjucks users only – if you do not use Nunjucks in your service please follow the instructions to copy the header into your service.
{{ govukOneLoginServiceHeader({
navigationItems: [
{
href: "#example1",
text: 'Example link 1',
id: 'id1'
},{
href: "#example2",
text: 'Example link 2',
id: 'id2'
},{
href: "#example3",
text: 'Example link 3',
id: 'id3'
}],
serviceName: "A very useful service with a relatively long name",
activeLinkId: "id3",
signOutLink: "/test"
})
}}
The code above is for reference for Nunjucks users only – if you do not use Nunjucks in your service please follow the instructions to copy the header into your service.