summaryrefslogtreecommitdiff
path: root/themes/blowfish/exampleSite/content/samples/rich-content
diff options
context:
space:
mode:
Diffstat (limited to 'themes/blowfish/exampleSite/content/samples/rich-content')
-rwxr-xr-xthemes/blowfish/exampleSite/content/samples/rich-content/index.it.md36
-rwxr-xr-xthemes/blowfish/exampleSite/content/samples/rich-content/index.ja.md36
-rwxr-xr-xthemes/blowfish/exampleSite/content/samples/rich-content/index.md36
-rwxr-xr-xthemes/blowfish/exampleSite/content/samples/rich-content/index.zh-cn.md36
4 files changed, 144 insertions, 0 deletions
diff --git a/themes/blowfish/exampleSite/content/samples/rich-content/index.it.md b/themes/blowfish/exampleSite/content/samples/rich-content/index.it.md
new file mode 100755
index 0000000..d46b16d
--- /dev/null
+++ b/themes/blowfish/exampleSite/content/samples/rich-content/index.it.md
@@ -0,0 +1,36 @@
+---
+title: "Rich Content"
+date: 2019-03-10
+description: "A brief description of Hugo Shortcodes"
+summary: "This is an _example_ of a **rich** content summary."
+tags: ["shortcodes", "privacy", "sample", "gist", "twitter", "youtube", "vimeo"]
+type: 'sample'
+---
+
+Hugo ships with several [built-in shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [privacy config](https://gohugo.io/about/hugo-and-gdpr/) and a set of _simple shortcodes_ that enable static and no-JS versions of various social media embeds.
+
+## YouTube
+
+Below is an example using the built-in `youtube` shortcode.
+
+{{< youtube ZJthWmvUzzc >}}
+
+## Twitter
+
+This example uses the `twitter_simple` shortcode to output a Tweet. It requires two named parameters `user` and `id`.
+
+{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}}
+
+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 nunocoracao 2779792841f7ffa7c7e62dc4d38626d4 >}}
+
+## Vimeo
+
+The `vimeo_simple` shortcode will embed a Vimeo video.
+
+{{< vimeo_simple 48912912 >}}
diff --git a/themes/blowfish/exampleSite/content/samples/rich-content/index.ja.md b/themes/blowfish/exampleSite/content/samples/rich-content/index.ja.md
new file mode 100755
index 0000000..9bffca8
--- /dev/null
+++ b/themes/blowfish/exampleSite/content/samples/rich-content/index.ja.md
@@ -0,0 +1,36 @@
+---
+title: "リッチコンテンツ"
+date: 2019-03-10
+description: "Hugo ショートコードの簡単な説明"
+summary: "This is an _example_ of a **rich** content summary."
+tags: ["shortcodes", "privacy", "sample", "gist", "twitter", "youtube", "vimeo"]
+type: 'sample'
+---
+
+Hugo には、リッチコンテンツのためのいくつかの[組み込みショートコード](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes)と[プライバシー設定](https://gohugo.io/about/hugo-and-gdpr/)、そして様々なソーシャルメディアの埋め込みを静的に、 JS なしで可能にする _simple shortcodes_ のセットが同梱されています。
+
+## YouTube
+
+下記のものは `youtube` ショートコードの組み込みを利用した例です。
+
+{{< youtube ZJthWmvUzzc >}}
+
+## Twitter
+
+この例はツイートを `twitter_simple` ショートコードを利用して出力しています。こちらは `user` と `id` の二つのパラメータを必須としています。
+
+{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}}
+
+代わりとして、 `tweet` ショートコードが完全にマークアップされた Twitter カードの埋め込みに利用できます、
+
+## Gist
+
+`gist` ショートコードは GitHub Gist の埋め込みに利用できます。こちらは Gist のユーザー名と ID の二つのパラメータを必須としています。
+
+{{< gist nunocoracao 2779792841f7ffa7c7e62dc4d38626d4 >}}
+
+## Vimeo
+
+`vimeo_simple` ショートコードは Vimeo 動画を埋め込むことができます。
+
+{{< vimeo_simple 48912912 >}}
diff --git a/themes/blowfish/exampleSite/content/samples/rich-content/index.md b/themes/blowfish/exampleSite/content/samples/rich-content/index.md
new file mode 100755
index 0000000..d46b16d
--- /dev/null
+++ b/themes/blowfish/exampleSite/content/samples/rich-content/index.md
@@ -0,0 +1,36 @@
+---
+title: "Rich Content"
+date: 2019-03-10
+description: "A brief description of Hugo Shortcodes"
+summary: "This is an _example_ of a **rich** content summary."
+tags: ["shortcodes", "privacy", "sample", "gist", "twitter", "youtube", "vimeo"]
+type: 'sample'
+---
+
+Hugo ships with several [built-in shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [privacy config](https://gohugo.io/about/hugo-and-gdpr/) and a set of _simple shortcodes_ that enable static and no-JS versions of various social media embeds.
+
+## YouTube
+
+Below is an example using the built-in `youtube` shortcode.
+
+{{< youtube ZJthWmvUzzc >}}
+
+## Twitter
+
+This example uses the `twitter_simple` shortcode to output a Tweet. It requires two named parameters `user` and `id`.
+
+{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}}
+
+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 nunocoracao 2779792841f7ffa7c7e62dc4d38626d4 >}}
+
+## Vimeo
+
+The `vimeo_simple` shortcode will embed a Vimeo video.
+
+{{< vimeo_simple 48912912 >}}
diff --git a/themes/blowfish/exampleSite/content/samples/rich-content/index.zh-cn.md b/themes/blowfish/exampleSite/content/samples/rich-content/index.zh-cn.md
new file mode 100755
index 0000000..f366759
--- /dev/null
+++ b/themes/blowfish/exampleSite/content/samples/rich-content/index.zh-cn.md
@@ -0,0 +1,36 @@
+---
+title: "简码示例"
+date: 2019-03-10
+description: "Hugo 简码的简要说明"
+summary: "这是**简码**内容的示例。"
+tags: ["简码", "隐私", "示例", "gist", "twitter", "youtube", "vimeo"]
+type: 'sample'
+---
+
+Hugo 附带了几个用于丰富内容的[内置简码](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes),以及一个[隐私配置](https: //gohugo.io/about/hugo-and-gdpr/) 和一组干练的简码,支持各种社交媒体嵌入的静态窗口。
+
+## YouTube
+
+下面是一个使用内置 `youtube` 简码的示例。
+
+{{< youtube ZJthWmvUzzc >}}
+
+## Twitter
+
+此示例使用 `twitter_simple` 简码来显示推文。它需要两个参数 `user` 和 `id` 。
+
+{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}}
+
+或者,`tweet` 简码可用于生成嵌入式的 Twitter 卡片。
+
+## Gist
+
+`gist` 简码可用于嵌入 GitHub Gist。它需要两个参数:Gist 的用户名和 ID。
+
+{{< gist nunocoracao 2779792841f7ffa7c7e62dc4d38626d4 >}}
+
+## Vimeo
+
+`vimeo_simple` 简码将生成一个嵌入式的 Vimeo 播放器。
+
+{{< vimeo_simple 48912912 >}}