Defines OpenGraph and Twitter metadata with fallbacks
- Since:
- 1.0.0
- Source:
- See:
Parameters:
Name | Type | Description |
---|---|---|
data | Object | 11ty’s |
Returns:
- Type:
string
HTML
Example
// In an Eleventy template
`${this.socialMeta()}`
Members
(inner) description :string
Which desciption metadata to use
Type:
string
(inner) thumbnail :string
Which thumbnail metadata to use
Type:
string
(inner) title :string
Which title metadata to use
Type:
string