mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
📝 docs: update shortcoode from twitter_simple to x
This commit is contained in:
@@ -17,9 +17,9 @@ Below is an example using the built-in `youtube` shortcode.
|
|||||||
|
|
||||||
## Twitter
|
## Twitter
|
||||||
|
|
||||||
This example uses the `twitter_simple` shortcode to output a Tweet. It requires two named parameters `user` and `id`.
|
This example uses the `x` shortcode to output a Tweet. It requires two named parameters `user` and `id`.
|
||||||
|
|
||||||
{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}}
|
{{< x user="DesignReviewed" id="1085870671291310081" >}}
|
||||||
|
|
||||||
Alternatively, the `tweet` shortcode can be used to embed a fully marked up Twitter card.
|
Alternatively, the `tweet` shortcode can be used to embed a fully marked up Twitter card.
|
||||||
|
|
||||||
|
|||||||
@@ -17,9 +17,9 @@ Hugo には、リッチコンテンツのためのいくつかの[組み込み
|
|||||||
|
|
||||||
## Twitter
|
## Twitter
|
||||||
|
|
||||||
この例はツイートを `twitter_simple` ショートコードを利用して出力しています。こちらは `user` と `id` の二つのパラメータを必須としています。
|
この例はツイートを `x` ショートコードを利用して出力しています。こちらは `user` と `id` の二つのパラメータを必須としています。
|
||||||
|
|
||||||
{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}}
|
{{< x user="DesignReviewed" id="1085870671291310081" >}}
|
||||||
|
|
||||||
代わりとして、 `tweet` ショートコードが完全にマークアップされた Twitter カードの埋め込みに利用できます、
|
代わりとして、 `tweet` ショートコードが完全にマークアップされた Twitter カードの埋め込みに利用できます、
|
||||||
|
|
||||||
|
|||||||
@@ -17,9 +17,9 @@ Below is an example using the built-in `youtube` shortcode.
|
|||||||
|
|
||||||
## Twitter
|
## Twitter
|
||||||
|
|
||||||
This example uses the `twitter_simple` shortcode to output a Tweet. It requires two named parameters `user` and `id`.
|
This example uses the `x` shortcode to output a Tweet. It requires two named parameters `user` and `id`.
|
||||||
|
|
||||||
{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}}
|
{{< x user="DesignReviewed" id="1085870671291310081" >}}
|
||||||
|
|
||||||
Alternatively, the `tweet` shortcode can be used to embed a fully marked up Twitter card.
|
Alternatively, the `tweet` shortcode can be used to embed a fully marked up Twitter card.
|
||||||
|
|
||||||
|
|||||||
@@ -17,9 +17,9 @@ Hugo 附带了几个用于丰富内容的[内置简码](https://gohugo.io/conten
|
|||||||
|
|
||||||
## Twitter
|
## Twitter
|
||||||
|
|
||||||
此示例使用 `twitter_simple` 简码来显示推文。它需要两个参数 `user` 和 `id` 。
|
此示例使用 `x` 简码来显示推文。它需要两个参数 `user` 和 `id` 。
|
||||||
|
|
||||||
{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}}
|
{{< x user="DesignReviewed" id="1085870671291310081" >}}
|
||||||
|
|
||||||
或者,`tweet` 简码可用于生成嵌入式的 Twitter 卡片。
|
或者,`tweet` 简码可用于生成嵌入式的 Twitter 卡片。
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user