diff --git a/exampleSite/content/samples/rich-content/index.it.md b/exampleSite/content/samples/rich-content/index.it.md index d46b16d0..1f2c7ae9 100755 --- a/exampleSite/content/samples/rich-content/index.it.md +++ b/exampleSite/content/samples/rich-content/index.it.md @@ -17,9 +17,9 @@ Below is an example using the built-in `youtube` shortcode. ## 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. diff --git a/exampleSite/content/samples/rich-content/index.ja.md b/exampleSite/content/samples/rich-content/index.ja.md index 9bffca8a..bf0dc571 100755 --- a/exampleSite/content/samples/rich-content/index.ja.md +++ b/exampleSite/content/samples/rich-content/index.ja.md @@ -17,9 +17,9 @@ Hugo には、リッチコンテンツのためのいくつかの[組み込み ## Twitter -この例はツイートを `twitter_simple` ショートコードを利用して出力しています。こちらは `user` と `id` の二つのパラメータを必須としています。 +この例はツイートを `x` ショートコードを利用して出力しています。こちらは `user` と `id` の二つのパラメータを必須としています。 -{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} +{{< x user="DesignReviewed" id="1085870671291310081" >}} 代わりとして、 `tweet` ショートコードが完全にマークアップされた Twitter カードの埋め込みに利用できます、 diff --git a/exampleSite/content/samples/rich-content/index.md b/exampleSite/content/samples/rich-content/index.md index d46b16d0..1f2c7ae9 100755 --- a/exampleSite/content/samples/rich-content/index.md +++ b/exampleSite/content/samples/rich-content/index.md @@ -17,9 +17,9 @@ Below is an example using the built-in `youtube` shortcode. ## 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. diff --git a/exampleSite/content/samples/rich-content/index.zh-cn.md b/exampleSite/content/samples/rich-content/index.zh-cn.md index f366759f..c80edddf 100755 --- a/exampleSite/content/samples/rich-content/index.zh-cn.md +++ b/exampleSite/content/samples/rich-content/index.zh-cn.md @@ -17,9 +17,9 @@ Hugo 附带了几个用于丰富内容的[内置简码](https://gohugo.io/conten ## Twitter -此示例使用 `twitter_simple` 简码来显示推文。它需要两个参数 `user` 和 `id` 。 +此示例使用 `x` 简码来显示推文。它需要两个参数 `user` 和 `id` 。 -{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} +{{< x user="DesignReviewed" id="1085870671291310081" >}} 或者,`tweet` 简码可用于生成嵌入式的 Twitter 卡片。