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

ID-only syntax deprecated in the twitter_simple shortcode #81

Closed
rayjolt opened this issue Mar 3, 2022 · 0 comments · Fixed by #82
Closed

ID-only syntax deprecated in the twitter_simple shortcode #81

rayjolt opened this issue Mar 3, 2022 · 0 comments · Fixed by #82

Comments

@rayjolt
Copy link
Contributor

rayjolt commented Mar 3, 2022

When building the site, I get the following warning:

WARN 2022/03/03 09:12:53 The "twitter_simple" shortcode will soon require two named parameters: user and id. See "/path/to/hugoBasicExample/content/post/rich-content.md:26:1"

Steps to reproduce:

git clone https://github.com/gohugoio/hugoBasicExample.git
cd hugoBasicExample
git clone https://github.com/halogenica/beautifulhugo.git themes/beautifulhugo
hugo -t beautifulhugo

The existing ID-only syntax in the twitter_simple shortcode seems to have been deprecated in favour of using user and id parameters, similarly to the tweet shortcode.

rayjolt added a commit to rayjolt/hugoBasicExample that referenced this issue Mar 3, 2022
The ID-only syntax for twitter_simple is being deprecated, and it will
soon require "user" and "id" parameters.

Fixes gohugoio#81.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant