diff --git a/exampleSite/content/docs/configuration/site-params/index.md b/exampleSite/content/docs/configuration/site-params/index.md index a47df2f4..74f5aeed 100644 --- a/exampleSite/content/docs/configuration/site-params/index.md +++ b/exampleSite/content/docs/configuration/site-params/index.md @@ -48,6 +48,7 @@ The site parameters are located in `config/_default/params.toml` by default. | `color` | String | - | Color mode, `light`, `dark` or `auto`. Default to `auto`. | `palette` | String | - | Default palette. This will take effect after clearing the Cookie. | `palettes` | Array | **ALL** | Available palettes. You can disable it by setting it to empty `[]`. +| `carouselPostCount` | Integer | `5` | The number of posts shown on the homepage carousel. | `featuredPostCount` | Integer/Boolean | `5` | The number of featured posts shown in sidebar. Turn off by setting it to `false`. | `recentPostCount` | Integer/Boolean | `5` | The number of recent posts shown in sidebar. Turn off by setting it to `false`. | `relatedPostCount` | Integer/Boolean | `5` | The number of related posts. Turn off by setting it to `false`. diff --git a/exampleSite/content/docs/configuration/site-params/index.zh-hans.md b/exampleSite/content/docs/configuration/site-params/index.zh-hans.md index bdd2b7ec..680fa961 100644 --- a/exampleSite/content/docs/configuration/site-params/index.zh-hans.md +++ b/exampleSite/content/docs/configuration/site-params/index.zh-hans.md @@ -49,6 +49,7 @@ authors = ["RazonYang"] | `color` | String | - | 颜色风格, `light`,`dark` 或者 `auto`(默认)。 | `palette` | String | - | 默认配色,清理 Cookie 后生效。 | `palettes` | Array | **ALL** | 可选配色,如需禁用此选项,可将其设为空值 `[]`。 +| `carouselPostCount` | Integer | `5` | 首页幻灯片的文章数量。 | `featuredPostCount` | Integer/Boolean | `5` | 精选文章数,`false` 则隐藏。 | `recentPostCount` | Integer/Boolean | `5` | 最近文章数,`false` 则隐藏。 | `relatedPostCount` | Integer/Boolean | `5` | 相关文章数,`false` 则隐藏。 diff --git a/exampleSite/content/docs/configuration/site-params/index.zh-hant.md b/exampleSite/content/docs/configuration/site-params/index.zh-hant.md index ceccb2e9..5f88ab9e 100644 --- a/exampleSite/content/docs/configuration/site-params/index.zh-hant.md +++ b/exampleSite/content/docs/configuration/site-params/index.zh-hant.md @@ -49,6 +49,7 @@ authors = ["RazonYang"] | `color` | String | - | 顏色風格, `light`,`dark` 或者 `auto`(默認)。 | `palette` | String | - | 默認配色,清理 Cookie 後生效。 | `palettes` | Array | **ALL** | 可選配色,如需禁用此選項,可將其設為空值 `[]`。 +| `carouselPostCount` | Integer | `5` | 首頁幻燈片的文章數量。 | `featuredPostCount` | Integer/Boolean | `5` | 精選文章數,`false` 則隱藏。 | `recentPostCount` | Integer/Boolean | `5` | 最近文章數,`false` 則隱藏。 | `relatedPostCount` | Integer/Boolean | `5` | 相關文章數,`false` 則隱藏。