_includes/shortcodes/title-tag

A JavaScript Template module for the <title>

Source:
Parameters:
NameTypeDescription
eleventyConfigObject

11ty’s Config API

Methods

(inner) titleTag(data) → {String}

HTML <title> markup

Source:
Parameters:
NameTypeDescription
dataObject

11ty’s data object

Returns:
Type:
String

HTML template literal

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