hugo/docs/content/en/content-management
Joe Mooring 0cc39af682 Update Twitter shortcode oEmbed endpoint
The existing endpoint will be retired and removed on November 23, 2021.
References:

- https://twittercommunity.com/t/consolidating-the-oembed-functionality/154690
- https://developer.twitter.com/en/docs/twitter-for-websites/oembed-api#Embedded

This is a backward compatible change.

The existing endpoint requires a single parameter: the id of the tweet.

The new endpoint requires two parameters: the id of the tweet, and the
user with whom it is associated. For the moment, if you supply the wrong
user, the request will be redirected (with a small delay) to the correct
user/id pair. This behavior is undocumented, but we will take advantage
of it as Hugo site authors transition to the new syntax.

{{< tweet 1453110110599868418 >}} --> works, throws warning, deprecate at some point

{{< tweet user="SanDiegoZoo" id="1453110110599868418" >}} --> new syntax

Fixes #8130
2021-11-01 15:51:00 +01:00
..
image-processing tpl/lang: Add new localized versions of lang.FormatNumber etc. 2021-07-29 16:40:06 +02:00
organization Merge commit '07b8d9466dfb59c429c1b470a0443337bc0aeefe' 2021-04-20 20:22:53 +02:00
_index.md
archetypes.md
build-options.md
comments.md Merge commit 'aa5ac36a3eb68b86c803caec703869efefc8447e' 2021-10-31 13:53:55 +01:00
cross-references.md
formats.md highlight: Remove some pygments references 2021-08-21 15:50:49 +02:00
front-matter.md Merge commit 'aa5ac36a3eb68b86c803caec703869efefc8447e' 2021-10-31 13:53:55 +01:00
menus.md
multilingual.md Merge commit '07b8d9466dfb59c429c1b470a0443337bc0aeefe' 2021-04-20 20:22:53 +02:00
page-bundles.md
page-resources.md Merge commit '07b8d9466dfb59c429c1b470a0443337bc0aeefe' 2021-04-20 20:22:53 +02:00
related.md Update Twitter shortcode oEmbed endpoint 2021-11-01 15:51:00 +01:00
sections.md Merge commit '7eb0e10a80708c638554b8221a3120dc1168566c' 2021-07-04 16:34:53 +02:00
shortcodes.md Update Twitter shortcode oEmbed endpoint 2021-11-01 15:51:00 +01:00
static-files.md
summaries.md
syntax-highlighting.md highlight: Remove some pygments references 2021-08-21 15:50:49 +02:00
taxonomies.md
toc.md
types.md
urls.md Merge commit '07b8d9466dfb59c429c1b470a0443337bc0aeefe' 2021-04-20 20:22:53 +02:00