gohugoio / hugoBasicExample

MIT License
282 stars 280 forks source link

ID-only syntax deprecated in the twitter_simple shortcode #81

Closed rayjolt closed 9 months ago

rayjolt commented 2 years ago

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.