A JavaScript Template module for the page header
Parameters:
Name | Type | Description |
---|---|---|
eleventyConfig | Object | 11ty’s Config API |
Methods
(inner) siteHeader(data) → {String}
The page header markup
Parameters:
Name | Type | Description |
---|---|---|
data | Object | 11ty’s data object |
Returns:
- Type:
String
HTML template literal
Example
`${this.siteHeader(data)}`