Defines markup for the <title>
in the HTML head
- Since:
- 1.0.0
- Source:
Parameters:
Name | Type | Description |
---|---|---|
data | Object | Eleventy’s data object |
Returns:
- Type:
string
HTML template literal
Example
// In an Eleventy template
`${this.titleTag(data)}`
Defines markup for the <title>
in the HTML head
Name | Type | Description |
---|---|---|
data | Object | Eleventy’s data object |
string
HTML template literal
// In an Eleventy template
`${this.titleTag(data)}`