_includes/shortcodes/site-header

A JavaScript Template module for the page header

Source:
Parameters:
NameTypeDescription
eleventyConfigObject

11ty’s Config API

Methods

(inner) siteHeader(data) → {String}

The page header markup

Source:
Parameters:
NameTypeDescription
dataObject

11ty’s data object

Returns:
Type:
String

HTML template literal

Example
`${this.siteHeader(data)}`