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

Fix twitter_simple shortcode error #93

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kratzert
Copy link

Hi,

trying to build the exampleSite from this repository on a recent Hugo version (v0.140.2) results in an error message.

ERROR The "twitter_simple" shortcode requires two named parameters: user and id. See ".../risotto/exampleSite/content/post/rich-content.md:26:1"

Looking at https://gohugo.io/content-management/shortcodes/#twitter shows that the twitter shortcode requires user + id. Hence I created this PR that changes the twitter shortcode with the example from the Hugo Docs. After that, the blog compiles on Hugo v0.140.2

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 this pull request may close these issues.

1 participant