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