_includes/shortcodes/title-tag

Defines markup for the <title> in the HTML head

Since:
  • 1.0.0
Source:
Parameters:
NameTypeDescription
dataObject

Eleventy’s data object

Returns:
Type:
string

HTML template literal

Example
// In an Eleventy template
`${this.titleTag(data)}`