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,10 @@
---
title: 'Postcard Layout'
bookcase_cover_src: 'cover/catalogue.png'
bookcase_cover_src_dark: 'cover/catalogue_dark.png'
type: "bookcase"
---
Postcard layout shows summary of regular posts, its useful for creating home page. Postcard layout paginates page according to your `paginate` config setting.
> This layout can only be used on section page. (`_index.md`)

View File

@@ -0,0 +1,18 @@
---
title: 'Postcard Layout Demo'
bookcase_cover_src: 'cover/catalogue.png'
bookcase_cover_src_dark: 'cover/catalogue_dark.png'
type: 'postcard'
weight: 40
---
```
.
├── _index.md <- you're here!
├── post1.md
├── post2.md
├── post3.md
├── post4.md
├── post5.md
└── post6.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,7 @@
---
title: 'post4'
date: 2021-02-06
search_hidden: true
---
Hello world!

View File

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

View File

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

View File

@@ -0,0 +1,21 @@
---
title: 'Postcard Layout Document'
bookcase_cover_src: 'cover/catalogue.png'
bookcase_cover_src_dark: 'cover/catalogue_dark.png'
weight: 40
changelogs:
---
Postcard layout show summary of regular posts, it's useful for creating home page.
> This layout can only be used on list layout.
## Configuration
```yaml
---
type: 'postcard'
---
```
> Specify `type` in front-matter will change the template lookup order.