Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter shortcode needs named parameters since hugo v0.123.0 #171

Closed
MichielVanDerWinden opened this issue Mar 7, 2024 · 0 comments
Closed

Comments

@MichielVanDerWinden
Copy link
Contributor

Describe the bug
The twitter_simple shortcode needs named parameters since hugo v0.123.0
When building the exampleSite, the following build errors occur:

10:43:32 AM: ERROR The "twitter_simple" shortcode requires two named parameters: user and id. See "/opt/build/repo/exampleSite/content/en/posts/rich-content/index.md:22:1"
10:43:32 AM: ERROR The "twitter_simple" shortcode requires two named parameters: user and id. See "/opt/build/repo/exampleSite/content/de/posts/rich-content/index.md:22:1"
10:43:33 AM: Failed during stage "building site": Build script returned non-zero exit code: 2
10:43:33 AM: ERROR The "twitter_simple" shortcode requires two named parameters: user and id. See "/opt/build/repo/exampleSite/content/ru/posts/rich-content/index.md:22:1"
10:43:33 AM: ERROR The "twitter_simple" shortcode requires two named parameters: user and id. See "/opt/build/repo/exampleSite/content/it/posts/rich-content/index.md:22:1"

Steps to reproduce
Steps to reproduce the behavior:

  1. Clone this repository
  2. Exeute cd exampleSite
  3. Execute hugo server --themesDir ../..
  4. See error

Expected behavior
The pages containing twitter_simple shortcode are built properly

Device information

  • OS: Manjaro
  • Browser Firefox
  • Version 123.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant