This commit is contained in:
Simon Gardling
2023-10-11 17:38:05 -04:00
commit 032679b34a
242 changed files with 9311 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
---
title: 'List Layout'
bookcase_cover_src: 'cover/list.png'
bookcase_cover_src_dark: 'cover/list_dark.png'
type: "bookcase"
---
List layout is the built-in section layout. Monochrome add options to adjust its behavior.

View File

@@ -0,0 +1,14 @@
---
title: 'List Layout Demo'
bookcase_cover_src: 'cover/list.png'
bookcase_cover_src_dark: 'cover/list_dark.png'
weight: 40
---
```
.
├── _index.md <- you're here!
├── post1.md
├── post2.md
└── post3.md
```

View File

@@ -0,0 +1,7 @@
---
title: 'post1'
date: 2021-02-06
search_hidden: true
---
Hello world!

View File

@@ -0,0 +1,7 @@
---
title: 'post2'
date: 2021-02-06
search_hidden: true
---
Hello world!

View File

@@ -0,0 +1,7 @@
---
title: 'post3'
date: 2021-02-06
search_hidden: true
---
Hello world!

View File

@@ -0,0 +1,40 @@
---
title: 'List Layout Document'
bookcase_cover_src: 'cover/list.png'
bookcase_cover_src_dark: 'cover/list_dark.png'
weight: 40
changelogs:
---
List layout is the built-in section layout. Monochrome add options to adjust its behavior.
## Configuration
### Group by year
An option to control group setting.
```yaml
group_by_year: false
```
> default: theme's [`list_layout.enable_group_by_year`](/hugo-theme-monochrome/configuration/theme/#group-by-year)
### Show date
Show / Hide date right after the post entry.
```yaml
show_date: false
```
> default: theme's [`list_layout.enable_show_date`](/hugo-theme-monochrome/configuration/theme/#show-date)
### Pagination
```yaml
pagination: false
```
> default: theme's [`list_layout.enable_pagination`](/hugo-theme-monochrome/configuration/theme/#pagination)