Skip to content

Fix the "twitter" related shortcodes were removed in hugo v0.156.0, use the "x" shortcode instead#1140

Merged
joyao merged 2 commits intohugo-themes:mainfrom
joyao:main
Mar 19, 2026
Merged

Fix the "twitter" related shortcodes were removed in hugo v0.156.0, use the "x" shortcode instead#1140
joyao merged 2 commits intohugo-themes:mainfrom
joyao:main

Conversation

@joyao
Copy link
Copy Markdown
Member

@joyao joyao commented Feb 21, 2026

Issue

ERROR The "twitter", "tweet", and "twitter_simple" shortcodes were deprecated in v0.142.0 and removed in hugo v0.156.0. Please use the "x" shortcode instead.

Hugo v0.156.0 was released on Feb. 18, 2026.
https://github.com/gohugoio/hugo/releases/tag/v0.156.0

Description

Change the shortcode from tweet to x.

Test Evidence

None

Reference

hugo-themes/toha-example-site#415

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 21, 2026

Deploy Preview for toha-ci ready!

Name Link
🔨 Latest commit 16687d3
🔍 Latest deploy log https://app.netlify.com/projects/toha-ci/deploys/69bbfe23cccd7d000821bc26
😎 Deploy Preview https://deploy-preview-1140--toha-ci.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@joyao joyao added the bug-fix Bug fixes label Feb 21, 2026
@joyao joyao requested a review from hossainemruz February 21, 2026 07:33
@joyao joyao enabled auto-merge (squash) March 19, 2026 13:48
@joyao joyao merged commit 60d2fe4 into hugo-themes:main Mar 19, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants