mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-06-07 22:13:31 +02:00
Improve the example presentation
This commit is contained in:
@@ -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 */%}}
|
||||
|
||||
Reference in New Issue
Block a user