From 781b0b5ab5519c68daee4cba6360f7060eb213ab Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Thu, 28 Apr 2022 10:17:02 +0800 Subject: [PATCH] :memo: Docs: update front matter documentation --- .../posts/theme-documentation-content/index.en.md | 12 ++++++++++++ .../posts/theme-documentation-content/index.zh-cn.md | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/exampleSite/content/posts/theme-documentation-content/index.en.md b/exampleSite/content/posts/theme-documentation-content/index.en.md index 39981fc7..48479233 100644 --- a/exampleSite/content/posts/theme-documentation-content/index.en.md +++ b/exampleSite/content/posts/theme-documentation-content/index.en.md @@ -103,13 +103,21 @@ fraction: true fontawesome: true linkToMarkdown: true rssFullText: false +pageStyle: "normal" +gravatarForce: false toc: enable: true auto: true +expirationReminder: + enable: false + # ... code: copy: true # ... +edit: + enable: false + # ... math: enable: true # ... @@ -166,9 +174,13 @@ seo: * **fontawesome**: {{< version 0.2.0 >}} if `true`, the content will enable the [Font Awesome extended syntax](#fontawesome). * **linkToMarkdown**: if `true`, the footer of the content will be shown the link to the orignal Markdown file. * **rssFullText**: {{< version 0.2.4 >}} if `true`, the full text content will be shown in RSS. +* **pageStyle**: {{< version 0.2.13 >}} Detail see [Page Style](../theme-documentation-basics#page-style) +* **gravatarForce**: {{< version 0.2.14 >}} Gravatar is force-used as the author's avatar. * **toc**: {{< version 0.2.9 changed >}} the same as the `params.page.toc` part in the [site configuration](../theme-documentation-basics#site-configuration). +* **expirationReminder**: {{< version 0.2.13 >}} the same as the `params.page.expirationReminder` part in the [site configuration](../theme-documentation-basics#site-configuration). * **code**: {{< version 0.2.0 >}} the same as the `params.page.code` part in the [site configuration](../theme-documentation-basics#site-configuration). +* **edit**: {{< version 0.2.14 >}} the same as the `params.page.edit` part in the [site configuration](../theme-documentation-basics#site-configuration). * **math**: {{< version 0.2.0 changed >}} the same as the `params.page.math` part in the [site configuration](../theme-documentation-basics#site-configuration). * **mapbox**: {{< version 0.2.0 >}} the same as the `params.page.mapbox` part in the [site configuration](../theme-documentation-basics#site-configuration). * **share**: the same as the `params.page.share` part in the [site configuration](../theme-documentation-basics#site-configuration). diff --git a/exampleSite/content/posts/theme-documentation-content/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-content/index.zh-cn.md index 0f2a7638..29313d8f 100644 --- a/exampleSite/content/posts/theme-documentation-content/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-content/index.zh-cn.md @@ -101,13 +101,21 @@ fraction: true fontawesome: true linkToMarkdown: true rssFullText: false +pageStyle: "normal" +gravatarForce: false toc: enable: true auto: true +expirationReminder: + enable: false + # ... code: copy: true # ... +edit: + enable: false + # ... math: enable: true # ... @@ -164,9 +172,13 @@ seo: * **fontawesome**: {{< version 0.2.0 >}} 如果设为 `true`, 这篇文章会使用 [Font Awesome 扩展语法](#fontawesome) * **linkToMarkdown**: 如果设为 `true`, 内容的页脚将显示指向原始 Markdown 文件的链接 * **rssFullText**: {{< version 0.2.4 >}} 如果设为 `true`, 在 RSS 中将会显示全文内容 +* **pageStyle**: {{< version 0.2.13 >}} 页面样式,详见 [页面宽度](../theme-documentation-basics#page-style) +* **gravatarForce**: {{< version 0.2.14 >}} 强制使用 Gravatar 作为作者头像 * **toc**: {{< version 0.2.9 changed >}} 和 [网站配置](../theme-documentation-basics#site-configuration) 中的 `params.page.toc` 部分相同 +* **expirationReminder**: {{< version 0.2.13 >}} 和 [网站配置](../theme-documentation-basics#site-configuration) 中的 `params.page.expirationReminder` 部分相同 * **code**: {{< version 0.2.0 >}} 和 [网站配置](../theme-documentation-basics#site-configuration) 中的 `params.page.code` 部分相同 +* **edit**: {{< version 0.2.14 >}} 和 [网站配置](../theme-documentation-basics#site-configuration) 中的 `params.page.edit` 部分相同 * **math**: {{< version 0.2.0 changed >}} 和 [网站配置](../theme-documentation-basics#site-configuration) 中的 `params.page.math` 部分相同 * **mapbox**: {{< version 0.2.0 >}} 和 [网站配置](../theme-documentation-basics#site-configuration) 中的 `params.page.mapbox` 部分相同 * **share**: 和 [网站配置](../theme-documentation-basics#site-configuration) 中的 `params.page.share` 部分相同