diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2021-10-31 03:56:36 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-11-01 15:51:00 +0100 |
commit | 0cc39af68232f1a4981aae2e72cf65da762b5768 (patch) | |
tree | da1c6a143d93544f5d9df2646128f2ae79ca7c3f /docs/content/en/showcase/letsencrypt/index.md | |
parent | ed6fd26ce884c49b02497728a99e90b92dd65f1f (diff) |
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
Diffstat (limited to 'docs/content/en/showcase/letsencrypt/index.md')
-rw-r--r-- | docs/content/en/showcase/letsencrypt/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/showcase/letsencrypt/index.md b/docs/content/en/showcase/letsencrypt/index.md index 8487a3c77..fc57a26b8 100644 --- a/docs/content/en/showcase/letsencrypt/index.md +++ b/docs/content/en/showcase/letsencrypt/index.md @@ -9,7 +9,7 @@ byline: "[bep](https://github.com/bep), Hugo Lead" The **Let’s Encrypt website** has a common set of elements: A landing page and some other static info-pages, a document section, a blog, and a documentation section. Having it moved to Hugo was mostly motivated by a _simpler administration and Hugo's [multilingual support](/content-management/multilingual/)_. They already serve HTTPS to more than 60 million domains, and having the documentation available in more languages will increase that reach.[^1] -{{< tweet 971755920639307777 >}} +{{< tweet user="letsencrypt" id="971755920639307777" >}} I helped them port the site from Jekyll to Hugo. There are usually very few surprises doing this. I know Hugo very well, but working on sites with a history usually comes up with something new. |