Improve the example presentation
This commit is contained in:
parent
69e3870092
commit
fa76068904
|
@ -4,21 +4,13 @@ weight = 20
|
|||
|
||||
# reveal-hugo
|
||||
|
||||
Presentation content lives in `content/reveal`.
|
||||
|
||||
Or manually set the type.
|
||||
|
||||
```toml
|
||||
+++
|
||||
type = "reveal"
|
||||
+++
|
||||
```
|
||||
Content for the root presentation lives in `content/_index.md` and `content/home`.
|
||||
|
||||
---
|
||||
|
||||
# reveal-hugo
|
||||
|
||||
Presentation sections are ordered by `weight`.
|
||||
Content files are ordered by `weight` when added to the presentation.
|
||||
|
||||
```toml
|
||||
+++
|
||||
|
@ -30,7 +22,13 @@ weight = 20
|
|||
|
||||
# reveal-hugo
|
||||
|
||||
Protip: use `fragment` shortcode to make content appear in sequence.
|
||||
Create multiple presentations, one for each section in `content`.
|
||||
|
||||
---
|
||||
|
||||
# reveal-hugo
|
||||
|
||||
Use the `fragment` shortcode to make content appear in sequence.
|
||||
|
||||
```
|
||||
{{%/* fragment */%}} One {{%/* /fragment */%}}
|
||||
|
|
|
@ -4,7 +4,7 @@ weight = 30
|
|||
|
||||
# reveal-hugo
|
||||
|
||||
If you want your markdown files to contain more than one slide...
|
||||
If you want your markdown files to contain more than one slide each...
|
||||
|
||||
🤔
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ weight = 10
|
|||
|
||||
# reveal-hugo
|
||||
|
||||
One markdown file, multiple slides.
|
||||
Multiple slides per markdown file.
|
||||
|
||||
Separate slides with `---`
|
||||
|
||||
|
|
Loading…
Reference in New Issue