diff --git a/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md index b6902f05..67941ef3 100644 --- a/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md +++ b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md @@ -4,8 +4,8 @@ title: "Theme Documentation - Built-in Shortcodes" date: 2020-03-04T16:29:41+08:00 lastmod: 2020-03-04T16:29:41+08:00 draft: false -author: "Dillon" -authorLink: "https://dillonzq.com" +author: "Lruihao" +authorLink: "https://lruihao.cn" description: "Hugo provides multiple built-in shortcodes for author convenience and to keep your markdown content clean." resources: - name: "featured-image" @@ -107,19 +107,7 @@ The rendered output looks like this: {{< /highlight >}} -## 4 instagram [Deprecated] - -[Documentation of `instagram`](https://gohugo.io/content-management/shortcodes#instagram) - -Example `instagram` input: - -```markdown -{{}} -``` - -The rendered output looks like this: - -## 5 param +## 4 param [Documentation of `param`](https://gohugo.io/content-management/shortcodes#param) @@ -133,23 +121,25 @@ The rendered output looks like this: {{< param description >}} -## 6 ref and relref {#ref-and-relref} +## 5 ref and relref {#ref-and-relref} [Documentation of `ref` and `relref`](https://gohugo.io/content-management/shortcodes#ref-and-relref) -## 7 tweet [Deprecated] +## 6 tweet [Documentation of `tweet`](https://gohugo.io/content-management/shortcodes#tweet) Example `tweet` input: ```markdown -{{}} +{{}} ``` The rendered output looks like this: -## 8 vimeo +{{< tweet user="SanDiegoZoo" id="1453110110599868418" >}} + +## 7 vimeo [Documentation of `vimeo`](https://gohugo.io/content-management/shortcodes#vimeo) @@ -163,7 +153,7 @@ The rendered output looks like this: {{< vimeo 146022717 >}} -## 9 youtube +## 8 youtube [Documentation of `youtube`](https://gohugo.io/content-management/shortcodes#youtube) diff --git a/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.zh-cn.md index 1bf4c8cb..e9c26e6a 100644 --- a/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.zh-cn.md @@ -2,10 +2,10 @@ weight: 3 title: "主题文档 - 内置 Shortcodes" date: 2020-03-04T16:29:59+08:00 -lastmod: 2020-03-04T16:29:59+08:00 +lastmod: 2022-01-25T15:09:59+08:00 draft: false -author: "Dillon" -authorLink: "https://dillonzq.com" +author: "Lruihao" +authorLink: "https://lruihao.cn" description: "Hugo 提供了多个内置的 Shortcodes, 以方便作者保持 Markdown 内容的整洁。" resources: - name: "featured-image" @@ -108,19 +108,7 @@ Hugo 附带了一组预定义的 shortcodes, 它们实现了一些非常常见 {{< /highlight >}} -## 4 instagram [Deprecated] - -[`instagram` 的文档](https://gohugo.io/content-management/shortcodes#instagram) - -一个 `instagram` 示例: - -```markdown -{{}} -``` - -呈现的输出效果如下: - -## 5 param +## 4 param [`param` 的文档](https://gohugo.io/content-management/shortcodes#param) @@ -134,23 +122,25 @@ Hugo 附带了一组预定义的 shortcodes, 它们实现了一些非常常见 {{< param description >}} -## 6 ref 和 relref {#ref-and-relref} +## 5 ref 和 relref {#ref-and-relref} [`ref` 和 `relref` 的文档](https://gohugo.io/content-management/shortcodes#ref-and-relref) -## 7 tweet [Deprecated] +## 6 tweet [`tweet` 的文档](https://gohugo.io/content-management/shortcodes#tweet) 一个 `tweet` 示例: ```markdown -{{}} +{{}} ``` 呈现的输出效果如下: -## 8 vimeo +{{< tweet user="SanDiegoZoo" id="1453110110599868418" >}} + +## 7 vimeo [`vimeo` 的文档](https://gohugo.io/content-management/shortcodes#vimeo) @@ -164,7 +154,7 @@ Hugo 附带了一组预定义的 shortcodes, 它们实现了一些非常常见 {{< vimeo 146022717 >}} -## 9 youtube +## 8 youtube [`youtube` 的文档](https://gohugo.io/content-management/shortcodes#youtube)