From bcebeb155a9fbd10e90236470da90ecaf88bfc99 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Thu, 6 Feb 2025 22:03:19 +0100 Subject: [PATCH] Remove documentation on deprecated shortcode 'gist' --- exampleSite/content/samples/rich-content/index.de.md | 6 ------ exampleSite/content/samples/rich-content/index.es.md | 6 ------ exampleSite/content/samples/rich-content/index.ja.md | 6 ------ exampleSite/content/samples/rich-content/index.md | 6 ------ exampleSite/content/samples/rich-content/index.zh-Hans.md | 6 ------ 5 files changed, 30 deletions(-) diff --git a/exampleSite/content/samples/rich-content/index.de.md b/exampleSite/content/samples/rich-content/index.de.md index 30f4b76dc..d11f4ec07 100644 --- a/exampleSite/content/samples/rich-content/index.de.md +++ b/exampleSite/content/samples/rich-content/index.de.md @@ -24,12 +24,6 @@ Dieses Beispiel verwendet den Shortcode `twitter_simple`, um einen Tweet anzuzei Alternativ kann der Shortcode `tweet` verwendet werden, um eine vollständig formatierte Twitter-Kachel einzubetten. -## Gist - -Der Shortcode `gist` kann verwendet werden, um einen Gist von GitHub einzubetten. Er erfordert zwei unbenannte Parameter: den Benutzernamen und die ID des Gist. - -{{< gist jpanther a873e1219ffeaa80a926bbe8255f348e >}} - ## Vimeo Der Shortcode `vimeo_simple` bettet ein Video von Vimeo ein. diff --git a/exampleSite/content/samples/rich-content/index.es.md b/exampleSite/content/samples/rich-content/index.es.md index 43cd50c7e..654098fff 100644 --- a/exampleSite/content/samples/rich-content/index.es.md +++ b/exampleSite/content/samples/rich-content/index.es.md @@ -24,12 +24,6 @@ Este ejemplo usa el shortcode `twitter_simple` para generar un Tweet. Requiere d Alternativamente, el shortcut `tweet` se puede usar para incrustar una tarjeta completa de Twitter. -## Gist - -El shortcode `gist` se puede usar para incrustar un GitHub Gist. Requiere dos parámetros por posición: el nombre de usuario y el ID del Gist. - -{{< gist jpanther a873e1219ffeaa80a926bbe8255f348e >}} - ## Vimeo El shortcode `vimeo_simple` insertará un video de Vimeo. diff --git a/exampleSite/content/samples/rich-content/index.ja.md b/exampleSite/content/samples/rich-content/index.ja.md index 814e9c360..4f6be7118 100644 --- a/exampleSite/content/samples/rich-content/index.ja.md +++ b/exampleSite/content/samples/rich-content/index.ja.md @@ -24,12 +24,6 @@ Hugoには、リッチコンテンツのためのいくつかの[組み込みシ `tweet` ショートコードを使えば、完全にマークアップされたTwitterカードを埋め込むこともできます。 -## Gist - -`gist` ショートコードを使うと、GitHubのGistを埋め込むことができます。ユーザー名とGistのIDというパラメーターが必要です。 - -{{< gist jpanther a873e1219ffeaa80a926bbe8255f348e >}} - ## Vimeo `vimeo_simple` ショートコードでVimeoの動画を埋め込むことができます。 diff --git a/exampleSite/content/samples/rich-content/index.md b/exampleSite/content/samples/rich-content/index.md index 82f02c692..c0e408fba 100644 --- a/exampleSite/content/samples/rich-content/index.md +++ b/exampleSite/content/samples/rich-content/index.md @@ -24,12 +24,6 @@ This example uses the `twitter_simple` shortcode to output a Tweet. It requires Alternatively, the `tweet` shortcode can be used to embed a fully marked up Twitter card. -## Gist - -The `gist` shortcode can be used to embed a GitHub Gist. It requires two unnamed parameters: the username and ID of the Gist. - -{{< gist jpanther a873e1219ffeaa80a926bbe8255f348e >}} - ## Vimeo The `vimeo_simple` shortcode will embed a Vimeo video. diff --git a/exampleSite/content/samples/rich-content/index.zh-Hans.md b/exampleSite/content/samples/rich-content/index.zh-Hans.md index ae030927d..d6065b606 100644 --- a/exampleSite/content/samples/rich-content/index.zh-Hans.md +++ b/exampleSite/content/samples/rich-content/index.zh-Hans.md @@ -24,12 +24,6 @@ Hugo包含了多个[内置短代码](https://gohugo.io/content-management/shortc 或者,可以使用 `tweet` 短代码来嵌入一个完全标记的Twitter卡片。 -## Gist - -`gist` 短代码可以用于嵌入GitHub Gist。它需要两个未命名参数:Gist的用户名和ID。 - -{{< gist jpanther a873e1219ffeaa80a926bbe8255f348e >}} - ## Vimeo `vimeo_simple` 短代码将嵌入Vimeo视频。