1
0
Fork 0
forked from mirrors/hugo-tufte

add example book in example site

This commit is contained in:
loikein 2023-04-25 15:19:20 +01:00
commit c5e3a781e9
9 changed files with 66 additions and 2 deletions

View file

@ -0,0 +1,17 @@
---
title: Probably A Book
subtitle: Best book ever!
type: book
layout: all
draft: true
---
This is a layout showcase for:
```yaml
type: book
layout: all
```
Change `all` to `volumes` to hide chapters.
Below lists all volumes and chapters in this book alphabetically. If you see repetitions, just restart the hugo server and it should be fixed.

View file

@ -0,0 +1,13 @@
---
title: Volume 1. Good Volume
type: book
layout: chapters
---
This is a layout showcase for:
```yaml
type: book
layout: chapters
```
Below lists all chapters in this volume alphabetically. If you see repetitions, just restart the hugo server and it should be fixed.

View file

@ -0,0 +1,3 @@
---
title: Chapter 1. Good Chapter
---

View file

@ -0,0 +1,3 @@
---
title: Chapter 2. Better Chapter
---

View file

@ -0,0 +1,14 @@
---
title: Volume 2. Cool Volume
type: book
layout: chapters
draft: true
---
This is a layout showcase for:
```yaml
type: book
layout: chapters
```
Below lists all chapters in this volume alphabetically. If you see repetitions, just restart the hugo server and it should be fixed.

View file

@ -0,0 +1,3 @@
---
title: Chapter 3. Cool Chapter
---

View file

@ -0,0 +1,3 @@
---
title: Chapter 4. Cooler Chapter
---

View file

@ -0,0 +1,4 @@
---
title: Chapter 5. Coolest Chapter
draft: true
---