From eaa37882354fd8169abf9b6b8bd90acdedb2f50d Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Thu, 25 Jul 2024 15:40:14 +0800 Subject: [PATCH] =?UTF-8?q?Docs:=20=E6=9B=B4=E6=96=B0=E6=89=93=E8=B5=8F?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/_default/params.toml | 2 +- content/en/contributing/components/index.md | 1 - content/en/contributing/development/index.md | 1 - content/en/contributing/documentation/index.md | 1 - content/en/contributing/overview/index.md | 1 - content/en/documentation/advanced/index.md | 1 - .../documentation/content-management/encryption/index.md | 1 - .../content-management/introduction/index.md | 1 - .../content-management/markdown-syntax/extended/index.md | 1 - .../shortcodes/extended/introduction/index.md | 1 - .../documentation/getting-started/configuration/index.md | 1 - .../documentation/getting-started/quick-start/index.md | 1 - content/en/guides/emoji-support/index.md | 1 + content/en/guides/pwa-support/index.md | 1 + content/zh-cn/contributing/components/index.md | 1 - content/zh-cn/contributing/development/index.md | 1 - content/zh-cn/contributing/documentation/index.md | 1 - content/zh-cn/contributing/overview/index.md | 1 - content/zh-cn/documentation/advanced/index.md | 1 - .../documentation/content-management/encryption/index.md | 1 - .../content-management/introduction/index.md | 1 - .../content-management/markdown-syntax/extended/index.md | 1 - .../shortcodes/extended/introduction/index.md | 1 - .../documentation/getting-started/configuration/index.md | 1 - .../documentation/getting-started/quick-start/index.md | 1 - content/zh-cn/guides/emoji-support/index.md | 1 + content/zh-cn/guides/pwa-support/index.md | 9 +++++---- 27 files changed, 9 insertions(+), 27 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 44e3828b..53ec0f35 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -853,7 +853,7 @@ disableThemeInject = false # Donate (Sponsor) settings # 赞赏设置 [page.reward] - enable = false + enable = true animation = true # position relative to post footer, optional values: ["before", "after"] # 相对于页脚的位置,可选值:["before", "after"] diff --git a/content/en/contributing/components/index.md b/content/en/contributing/components/index.md index 71bb925d..4f545b67 100644 --- a/content/en/contributing/components/index.md +++ b/content/en/contributing/components/index.md @@ -5,7 +5,6 @@ type: posts categories: - Contributing hiddenFromHomePage: true -reward: true related: enable: false menu: diff --git a/content/en/contributing/development/index.md b/content/en/contributing/development/index.md index cdc4273f..a06d7b61 100644 --- a/content/en/contributing/development/index.md +++ b/content/en/contributing/development/index.md @@ -5,7 +5,6 @@ type: posts categories: - Contributing hiddenFromHomePage: true -reward: true related: enable: false menu: diff --git a/content/en/contributing/documentation/index.md b/content/en/contributing/documentation/index.md index e6bcd7d8..55459f0b 100644 --- a/content/en/contributing/documentation/index.md +++ b/content/en/contributing/documentation/index.md @@ -5,7 +5,6 @@ type: posts categories: - Contributing hiddenFromHomePage: true -reward: true related: enable: false menu: diff --git a/content/en/contributing/overview/index.md b/content/en/contributing/overview/index.md index 666b70a9..a6e2eeb3 100644 --- a/content/en/contributing/overview/index.md +++ b/content/en/contributing/overview/index.md @@ -9,7 +9,6 @@ resources: src: cover.webp type: posts pageStyle: wide -reward: true related: enable: false description: Hugo FixIt is eager for enthusiasm and participation from the open-source community. We need your support! diff --git a/content/en/documentation/advanced/index.md b/content/en/documentation/advanced/index.md index 62c3a7f0..daa2877e 100644 --- a/content/en/documentation/advanced/index.md +++ b/content/en/documentation/advanced/index.md @@ -16,7 +16,6 @@ collections: tags: - Advanced - Customization -reward: true toc: auto: false --- diff --git a/content/en/documentation/content-management/encryption/index.md b/content/en/documentation/content-management/encryption/index.md index 130436b0..f6878280 100644 --- a/content/en/documentation/content-management/encryption/index.md +++ b/content/en/documentation/content-management/encryption/index.md @@ -25,7 +25,6 @@ categories: - Documentation collections: - Content Management -reward: true --- Find out how to encrypt content in FixIt theme. diff --git a/content/en/documentation/content-management/introduction/index.md b/content/en/documentation/content-management/introduction/index.md index 79f3fff6..ac03db0a 100644 --- a/content/en/documentation/content-management/introduction/index.md +++ b/content/en/documentation/content-management/introduction/index.md @@ -19,7 +19,6 @@ categories: collections: - Content Management lightgallery: true -reward: true --- Find out how to create and organize your content quickly and intuitively in **FixIt** theme. diff --git a/content/en/documentation/content-management/markdown-syntax/extended/index.md b/content/en/documentation/content-management/markdown-syntax/extended/index.md index b6a4a3a6..d3cb86da 100644 --- a/content/en/documentation/content-management/markdown-syntax/extended/index.md +++ b/content/en/documentation/content-management/markdown-syntax/extended/index.md @@ -18,7 +18,6 @@ categories: - Documentation collections: - Markdown Syntax -reward: true math: true --- diff --git a/content/en/documentation/content-management/shortcodes/extended/introduction/index.md b/content/en/documentation/content-management/shortcodes/extended/introduction/index.md index 7baeeee1..349cd412 100644 --- a/content/en/documentation/content-management/shortcodes/extended/introduction/index.md +++ b/content/en/documentation/content-management/shortcodes/extended/introduction/index.md @@ -21,7 +21,6 @@ categories: - Documentation lightgallery: true math: true -reward: true --- **FixIt** theme provides multiple shortcodes on top of built-in ones in Hugo. diff --git a/content/en/documentation/getting-started/configuration/index.md b/content/en/documentation/getting-started/configuration/index.md index a347fc12..d01f986a 100644 --- a/content/en/documentation/getting-started/configuration/index.md +++ b/content/en/documentation/getting-started/configuration/index.md @@ -22,7 +22,6 @@ categories: collections: - Getting Started lightgallery: true -reward: true --- Find out how to configure your Hugo **FixIt** site. diff --git a/content/en/documentation/getting-started/quick-start/index.md b/content/en/documentation/getting-started/quick-start/index.md index c52687f4..13dc834d 100644 --- a/content/en/documentation/getting-started/quick-start/index.md +++ b/content/en/documentation/getting-started/quick-start/index.md @@ -18,7 +18,6 @@ categories: collections: - Getting Started lightgallery: true -reward: true toc: auto: false --- diff --git a/content/en/guides/emoji-support/index.md b/content/en/guides/emoji-support/index.md index a67f304c..1a443004 100644 --- a/content/en/guides/emoji-support/index.md +++ b/content/en/guides/emoji-support/index.md @@ -2,6 +2,7 @@ title: Emoji Support date: 2019-10-01T17:55:28+08:00 type: posts +reward: false aliases: - /emoji-support/ author: diff --git a/content/en/guides/pwa-support/index.md b/content/en/guides/pwa-support/index.md index 82580bfa..6c2fc64f 100644 --- a/content/en/guides/pwa-support/index.md +++ b/content/en/guides/pwa-support/index.md @@ -2,6 +2,7 @@ title: PWA Support date: 2022-01-26T09:32:56+08:00 type: posts +reward: false aliases: - /pwa-support/ description: Guide to setup PWA in FixIt. diff --git a/content/zh-cn/contributing/components/index.md b/content/zh-cn/contributing/components/index.md index 0e8e35ca..e87f7b0e 100644 --- a/content/zh-cn/contributing/components/index.md +++ b/content/zh-cn/contributing/components/index.md @@ -5,7 +5,6 @@ categories: - Contributing type: posts hiddenFromHomePage: true -reward: true related: enable: false menu: diff --git a/content/zh-cn/contributing/development/index.md b/content/zh-cn/contributing/development/index.md index 0a2e7c3b..505f2452 100644 --- a/content/zh-cn/contributing/development/index.md +++ b/content/zh-cn/contributing/development/index.md @@ -5,7 +5,6 @@ categories: - Contributing type: posts hiddenFromHomePage: true -reward: true related: enable: false menu: diff --git a/content/zh-cn/contributing/documentation/index.md b/content/zh-cn/contributing/documentation/index.md index 0c111c26..a963172a 100644 --- a/content/zh-cn/contributing/documentation/index.md +++ b/content/zh-cn/contributing/documentation/index.md @@ -5,7 +5,6 @@ categories: - Contributing type: posts hiddenFromHomePage: true -reward: true related: enable: false menu: diff --git a/content/zh-cn/contributing/overview/index.md b/content/zh-cn/contributing/overview/index.md index 22a65982..522eaa29 100644 --- a/content/zh-cn/contributing/overview/index.md +++ b/content/zh-cn/contributing/overview/index.md @@ -8,7 +8,6 @@ resources: src: cover.webp type: posts pageStyle: wide -reward: true related: enable: false description: Hugo FixIt 非常渴望来自于开源社区的热情和参与。我们需要你们的支持! diff --git a/content/zh-cn/documentation/advanced/index.md b/content/zh-cn/documentation/advanced/index.md index 8c992bb3..c343ff3e 100644 --- a/content/zh-cn/documentation/advanced/index.md +++ b/content/zh-cn/documentation/advanced/index.md @@ -16,7 +16,6 @@ collections: tags: - Advanced - Customization -reward: true toc: auto: false --- diff --git a/content/zh-cn/documentation/content-management/encryption/index.md b/content/zh-cn/documentation/content-management/encryption/index.md index b2b2d419..f997285e 100644 --- a/content/zh-cn/documentation/content-management/encryption/index.md +++ b/content/zh-cn/documentation/content-management/encryption/index.md @@ -25,7 +25,6 @@ categories: - Documentation collections: - Content Management -reward: true --- 了解如何在 FixIt 主题中加密内容。 diff --git a/content/zh-cn/documentation/content-management/introduction/index.md b/content/zh-cn/documentation/content-management/introduction/index.md index 9d292800..f6eaf9ab 100644 --- a/content/zh-cn/documentation/content-management/introduction/index.md +++ b/content/zh-cn/documentation/content-management/introduction/index.md @@ -19,7 +19,6 @@ categories: collections: - Content Management lightgallery: true -reward: true --- 了解如何在 **FixIt** 主题中快速,直观地创建和组织内容。 diff --git a/content/zh-cn/documentation/content-management/markdown-syntax/extended/index.md b/content/zh-cn/documentation/content-management/markdown-syntax/extended/index.md index b9ea51e6..417e5b68 100644 --- a/content/zh-cn/documentation/content-management/markdown-syntax/extended/index.md +++ b/content/zh-cn/documentation/content-management/markdown-syntax/extended/index.md @@ -18,7 +18,6 @@ categories: - Documentation collections: - Markdown Syntax -reward: true math: true --- diff --git a/content/zh-cn/documentation/content-management/shortcodes/extended/introduction/index.md b/content/zh-cn/documentation/content-management/shortcodes/extended/introduction/index.md index 4b9c5cba..745e1f4f 100644 --- a/content/zh-cn/documentation/content-management/shortcodes/extended/introduction/index.md +++ b/content/zh-cn/documentation/content-management/shortcodes/extended/introduction/index.md @@ -21,7 +21,6 @@ categories: - Documentation lightgallery: true math: true -reward: true --- **FixIt** 主题在 Hugo 内置的 shortcode 的基础上提供多个扩展的 Shortcodes。 diff --git a/content/zh-cn/documentation/getting-started/configuration/index.md b/content/zh-cn/documentation/getting-started/configuration/index.md index 5986efe7..5f18c11b 100644 --- a/content/zh-cn/documentation/getting-started/configuration/index.md +++ b/content/zh-cn/documentation/getting-started/configuration/index.md @@ -22,7 +22,6 @@ categories: collections: - Getting Started lightgallery: true -reward: true --- 了解如何配置你的 Hugo **FixIt** 站点。 diff --git a/content/zh-cn/documentation/getting-started/quick-start/index.md b/content/zh-cn/documentation/getting-started/quick-start/index.md index 9521aa5b..8b0a262b 100644 --- a/content/zh-cn/documentation/getting-started/quick-start/index.md +++ b/content/zh-cn/documentation/getting-started/quick-start/index.md @@ -18,7 +18,6 @@ categories: collections: - Getting Started lightgallery: true -reward: true toc: auto: false --- diff --git a/content/zh-cn/guides/emoji-support/index.md b/content/zh-cn/guides/emoji-support/index.md index 817dfa32..f2dc3563 100644 --- a/content/zh-cn/guides/emoji-support/index.md +++ b/content/zh-cn/guides/emoji-support/index.md @@ -2,6 +2,7 @@ title: Emoji 支持 date: 2019-10-01T17:55:28+08:00 type: posts +reward: false aliases: - /zh-cn/emoji-support/ author: diff --git a/content/zh-cn/guides/pwa-support/index.md b/content/zh-cn/guides/pwa-support/index.md index fa297a83..7eb12281 100644 --- a/content/zh-cn/guides/pwa-support/index.md +++ b/content/zh-cn/guides/pwa-support/index.md @@ -2,6 +2,7 @@ title: PWA 支持 date: 2022-01-26T11:10:56+08:00 type: posts +reward: false aliases: - /pwa-support/ description: 在 FixIt 中设置 PWA 的指南。 @@ -46,19 +47,19 @@ repost: 以下是必填参数。 -- **name** *[必须]* +- **name** _[必须]_ 你的 PWA 的名称。 -- **short_name** *[必须]* +- **short_name** _[必须]_ 你的 PWA 的简称。 -- **start_url** *[必须]* +- **start_url** _[必须]_ 你的 PWA 的起始地址。请默认填写`"/"`。 -- **icons** *[必须]* +- **icons** _[必须]_ 你的 PWA 的图标。你可以将网站的 favicon 作为图标。