diff options
author | Dillon <dillonzq@outlook.com> | 2020-05-07 11:49:17 +0300 |
---|---|---|
committer | Dillon <dillonzq@outlook.com> | 2020-05-07 11:49:17 +0300 |
commit | 4479d5533e932b9609abf06247ab9bd1541872e1 (patch) | |
tree | a3aaf084fe4cae369521a148ca47c08832a971ec | |
parent | ee5f757fe952b498acebabef5883bc7bd9dc08b4 (diff) | |
parent | 591f39588a87017a312aa0b6cfc134441f99cd90 (diff) |
Merge branch 'develop'
19 files changed, 33 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 15d5e02..0041afe 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -636,6 +636,9 @@ enableEmoji = true # date format # 日期格式 dateFormat = "2006-01-02" + # website images for Open Graph and Twitter Cards + # 网站图片, 用于 Open Graph 和 Twitter Cards + images = ["/logo.png"] # Header config # 页面头部导航栏配置 diff --git a/exampleSite/content/posts/basic-markdown-syntax.en.md b/exampleSite/content/posts/basic-markdown-syntax.en.md index 67d9485..99a6c53 100644 --- a/exampleSite/content/posts/basic-markdown-syntax.en.md +++ b/exampleSite/content/posts/basic-markdown-syntax.en.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "This article shows the basic Markdown syntax and format." +images: ["/images/basic-markdown-syntax/featured-image.png"] tags: ["Markdown", "HTML"] categories: ["Markdown"] diff --git a/exampleSite/content/posts/basic-markdown-syntax.fr.md b/exampleSite/content/posts/basic-markdown-syntax.fr.md index dad61ca..2539bed 100644 --- a/exampleSite/content/posts/basic-markdown-syntax.fr.md +++ b/exampleSite/content/posts/basic-markdown-syntax.fr.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Cet article présente la syntaxe et le format de base de Markdown." +images: ["/images/basic-markdown-syntax/featured-image.png"] tags: ["Markdown", "HTML"] categories: ["Markdown"] diff --git a/exampleSite/content/posts/basic-markdown-syntax.zh-cn.md b/exampleSite/content/posts/basic-markdown-syntax.zh-cn.md index 0a1b38c..70f42b7 100644 --- a/exampleSite/content/posts/basic-markdown-syntax.zh-cn.md +++ b/exampleSite/content/posts/basic-markdown-syntax.zh-cn.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "这篇文章展示了基本的 Markdown 语法和格式." +images: ["/images/basic-markdown-syntax/featured-image.png"] tags: ["Markdown", "HTML"] categories: ["Markdown"] diff --git a/exampleSite/content/posts/emoji-support.en.md b/exampleSite/content/posts/emoji-support.en.md index c206309..8e4f6a4 100644 --- a/exampleSite/content/posts/emoji-support.en.md +++ b/exampleSite/content/posts/emoji-support.en.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Guide to emoji usage in Hugo and LoveIt." +images: ["/images/emoji-support/featured-image.jpg"] tags: ["emoji"] categories: ["Markdown"] diff --git a/exampleSite/content/posts/emoji-support.fr.md b/exampleSite/content/posts/emoji-support.fr.md index 9a0c118..cc95938 100644 --- a/exampleSite/content/posts/emoji-support.fr.md +++ b/exampleSite/content/posts/emoji-support.fr.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Guide d'utilisation des emoji dans Hugo et LoveIt." +images: ["/images/emoji-support/featured-image.jpg"] tags: ["emoji"] categories: ["Markdown"] diff --git a/exampleSite/content/posts/emoji-support.zh-cn.md b/exampleSite/content/posts/emoji-support.zh-cn.md index 0440983..2411987 100644 --- a/exampleSite/content/posts/emoji-support.zh-cn.md +++ b/exampleSite/content/posts/emoji-support.zh-cn.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Hugo 和 LoveIt 中的 Emoji 的用法指南." +images: ["/images/emoji-support/featured-image.jpg"] tags: ["emoji"] categories: ["Markdown"] diff --git a/exampleSite/content/posts/theme-documentation-basics.en.md b/exampleSite/content/posts/theme-documentation-basics.en.md index 7ddf1ca..8aba838 100644 --- a/exampleSite/content/posts/theme-documentation-basics.en.md +++ b/exampleSite/content/posts/theme-documentation-basics.en.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Discover what the Hugo - LoveIt theme is all about and the core-concepts behind it." +images: ["/images/theme-documentation-basics/featured-image.jpg"] tags: ["installation", "configuration"] categories: ["documentation"] @@ -200,6 +201,8 @@ Please open the code block below to view the complete sample configuration :(far fingerprint = "" # {{< version 0.2.0 >}} date format dateFormat = "2006-01-02" + # website images for Open Graph and Twitter Cards + images = ["/logo.png"] # {{< version 0.2.0 >}} App icon config [params.app] diff --git a/exampleSite/content/posts/theme-documentation-basics.fr.md b/exampleSite/content/posts/theme-documentation-basics.fr.md index ef96f87..3c6a4ac 100644 --- a/exampleSite/content/posts/theme-documentation-basics.fr.md +++ b/exampleSite/content/posts/theme-documentation-basics.fr.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Découvrez en quoi consiste le thème Hugo - LoveIt et les concepts fondamentaux qui le sous-tendent." +images: ["/images/theme-documentation-basics/featured-image.jpg"] tags: ["installation", "configuration"] categories: ["documentation"] @@ -205,6 +206,8 @@ Please open the code block below to view the complete sample configuration :(far fingerprint = "" # {{< version 0.2.0 >}} date format dateFormat = "2006-01-02" + # website images for Open Graph and Twitter Cards + images = ["/logo.png"] # {{< version 0.2.0 >}} App icon config [params.app] diff --git a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md index 02d1517..8687ecb 100644 --- a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "探索 Hugo - LoveIt 主题的全部内容和背后的核心概念." +images: ["/images/theme-documentation-basics/featured-image.jpg"] tags: ["installation", "configuration"] categories: ["documentation"] @@ -207,6 +208,8 @@ hugo fingerprint = "" # {{< version 0.2.0 >}} 日期格式 dateFormat = "2006-01-02" + # 网站图片, 用于 Open Graph 和 Twitter Cards + images = ["/logo.png"] # {{< version 0.2.0 >}} 应用图标配置 [params.app] diff --git a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.en.md b/exampleSite/content/posts/theme-documentation-built-in-shortcodes.en.md index b7c41fc..9eebc10 100644 --- a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.en.md +++ b/exampleSite/content/posts/theme-documentation-built-in-shortcodes.en.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Hugo provides multiple built-in shortcodes for author convenience and to keep your markdown content clean." +images: ["/images/theme-documentation-built-in-shortcodes/featured-image.png"] tags: ["shortcodes"] categories: ["documentation"] diff --git a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.fr.md b/exampleSite/content/posts/theme-documentation-built-in-shortcodes.fr.md index 2165eef..0978d1c 100644 --- a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.fr.md +++ b/exampleSite/content/posts/theme-documentation-built-in-shortcodes.fr.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Hugo fournit plusieurs shortcodes intégrés pour la commodité de l'auteur et pour garder votre contenu de démarque propre." +images: ["/images/theme-documentation-built-in-shortcodes/featured-image.png"] tags: ["shortcodes"] categories: ["documentation"] diff --git a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.zh-cn.md b/exampleSite/content/posts/theme-documentation-built-in-shortcodes.zh-cn.md index 1efb081..5369257 100644 --- a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-built-in-shortcodes.zh-cn.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Hugo 提供了多个内置的 Shortcodes, 以方便作者保持 Markdown 内容的整洁." +images: ["/images/theme-documentation-built-in-shortcodes/featured-image.png"] tags: ["shortcodes"] categories: ["documentation"] diff --git a/exampleSite/content/posts/theme-documentation-content.en.md b/exampleSite/content/posts/theme-documentation-content.en.md index 54817dc..6def06e 100644 --- a/exampleSite/content/posts/theme-documentation-content.en.md +++ b/exampleSite/content/posts/theme-documentation-content.en.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Find out how to create and organize your content quickly and intuitively in LoveIt theme." +images: ["/images/theme-documentation-content/featured-image.jpg"] tags: ["content", "Markdown"] categories: ["documentation"] @@ -54,6 +55,7 @@ author: "" authorLink: "" description: "" license: "" +images: [] tags: [] categories: [] @@ -100,6 +102,7 @@ comment: * **authorLink**: the link of the author. * **description**: the description for the content. * **license**: the special lisence for this content. +* **images**: page images for Open Graph and Twitter Cards. * **tags**: the tags for the content. * **categories**: the categories for the content. diff --git a/exampleSite/content/posts/theme-documentation-content.fr.md b/exampleSite/content/posts/theme-documentation-content.fr.md index da11461..f5de022 100644 --- a/exampleSite/content/posts/theme-documentation-content.fr.md +++ b/exampleSite/content/posts/theme-documentation-content.fr.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Découvrez comment créer et organiser votre contenu rapidement et intuitivement dans le thème LoveIt." +images: ["/images/theme-documentation-content/featured-image.jpg"] tags: ["content", "Markdown"] categories: ["documentation"] @@ -59,6 +60,7 @@ author: "" authorLink: "" description: "" license: "" +images: [] tags: [] categories: [] @@ -105,6 +107,7 @@ comment: * **authorLink**: the link of the author. * **description**: the description for the content. * **license**: the special lisence for this content. +* **images**: page images for Open Graph and Twitter Cards. * **tags**: the tags for the content. * **categories**: the categories for the content. diff --git a/exampleSite/content/posts/theme-documentation-content.zh-cn.md b/exampleSite/content/posts/theme-documentation-content.zh-cn.md index cedb85d..c69a564 100644 --- a/exampleSite/content/posts/theme-documentation-content.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-content.zh-cn.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "了解如何在 LoveIt 主题中快速, 直观地创建和组织内容." +images: ["/images/theme-documentation-content/featured-image.jpg"] tags: ["content", "Markdown"] categories: ["documentation"] @@ -54,6 +55,7 @@ author: "" authorLink: "" description: "" license: "" +images: [] tags: [] categories: [] @@ -100,6 +102,7 @@ comment: * **authorLink**: 文章作者的链接. * **description**: 文章内容的描述. * **license**: 这篇文章特殊的许可. +* **images**: 页面图片, 用于 Open Graph 和 Twitter Cards. * **tags**: 文章的标签. * **categories**: 文章所属的类别. diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md index 61244b6..dfbd86f 100644 --- a/exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md +++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "LoveIt theme provides multiple shortcodes on top of built-in ones in Hugo." +images: ["/images/theme-documentation-extended-shortcodes/featured-image-preview.jpg"] tags: ["shortcodes"] categories: ["documentation"] diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md index 11706b2..8bbbd3e 100644 --- a/exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md +++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "Le thème LoveIt fournit plusieurs shortcodes en plus de ceux intégrés dans Hugo." +images: ["/images/theme-documentation-extended-shortcodes/featured-image-preview.jpg"] tags: ["shortcodes"] categories: ["documentation"] diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md index b0e852e..dd5a9fc 100644 --- a/exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md @@ -7,6 +7,7 @@ draft: false author: "Dillon" authorLink: "https://dillonzq.com" description: "LoveIt 主题在 Hugo 内置的 shortcode 的基础上提供多个扩展的 shortcode." +images: ["/images/theme-documentation-extended-shortcodes/featured-image-preview.jpg"] tags: ["shortcodes"] categories: ["documentation"] |