Skip to content

Commit

Permalink
docs: document the carouselPostCount parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Oct 30, 2023
1 parent c8ac437 commit b505bcd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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` 则隐藏。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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` 則隱藏。
Expand Down

0 comments on commit b505bcd

Please sign in to comment.