mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-06-07 22:13:31 +02:00
Use home folder for default presentation
Add an example presentation for a section
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
+++
|
||||
weight = 20
|
||||
+++
|
||||
|
||||
# reveal-hugo
|
||||
|
||||
Presentation content lives in `content/reveal`.
|
||||
|
||||
Or manually set the type.
|
||||
|
||||
```toml
|
||||
+++
|
||||
type = "reveal"
|
||||
+++
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# reveal-hugo
|
||||
|
||||
Presentation sections are ordered by `weight`.
|
||||
|
||||
```toml
|
||||
+++
|
||||
weight = 20
|
||||
+++
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# reveal-hugo
|
||||
|
||||
Protip: use `fragment` shortcode to make content appear in sequence.
|
||||
|
||||
```
|
||||
{{%/* fragment */%}} One {{%/* /fragment */%}}
|
||||
{{%/* fragment */%}} Two {{%/* /fragment */%}}
|
||||
{{%/* fragment */%}} Three {{%/* /fragment */%}}
|
||||
```
|
||||
|
||||
{{% fragment %}} One {{% /fragment %}}
|
||||
{{% fragment %}} Two {{% /fragment %}}
|
||||
{{% fragment %}} Three {{% /fragment %}}
|
||||
Reference in New Issue
Block a user