_includes/shortcodes/social-meta

Defines OpenGraph and Twitter metadata with fallbacks

Since:
  • 1.0.0
Source:
See:
Parameters:
NameTypeDescription
dataObject

11ty’s data object

Returns:
Type:
string

HTML

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

Members

(inner) description :string

Which desciption metadata to use

Source:
Type:
  • string

(inner) thumbnail :string

Which thumbnail metadata to use

Source:
Type:
  • string

(inner) title :string

Which title metadata to use

Source:
Type:
  • string