Skip to content

tpl/tplimpl: Throw error when calling twitter/twitter_simple shortcodes #14488

@jmooring

Description

@jmooring

In v0.141.0 (16 Jan 2025) we deprecated the twitter shortcodes and related configuration settings in favor of their x equivalents. See #13214.

In the next minor release, v0.156.0, we will begin throwing errors and fail the build if any of the twitter config settings are enabled:

ERROR deprecated: site config key privacy.twitter.enableDNT was deprecated in Hugo v0.141.0 and subsequently removed. Use privacy.x.enableDNT instead.

We also need to fail the build if the twitter shortcodes are called.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions