2018-04-27 00:25:43 +02:00
|
|
|
+++
|
|
|
|
weight = 20
|
|
|
|
+++
|
|
|
|
|
|
|
|
# reveal-hugo
|
|
|
|
|
2018-04-27 08:04:32 +02:00
|
|
|
Content for the root presentation lives in `content/_index.md` and `content/home`.
|
2018-04-27 00:25:43 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# reveal-hugo
|
|
|
|
|
2018-04-27 08:04:32 +02:00
|
|
|
Content files are ordered by `weight` when added to the presentation.
|
2018-04-27 00:25:43 +02:00
|
|
|
|
|
|
|
```toml
|
|
|
|
+++
|
|
|
|
weight = 20
|
|
|
|
+++
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# reveal-hugo
|
|
|
|
|
2018-04-28 07:56:09 +02:00
|
|
|
Create a presentation for any section by adding this to its `_index.md`:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
outputs = ["Reveal"]
|
|
|
|
```
|
2018-04-27 08:04:32 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# reveal-hugo
|
|
|
|
|
2018-04-27 08:44:00 +02:00
|
|
|
Use the `fragment` shortcode to make content appear incrementally.
|
|
|
|
|
2018-04-27 00:25:43 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
{{%/* fragment */%}} One {{%/* /fragment */%}}
|
2018-04-27 01:14:26 +02:00
|
|
|
{{%/* fragment */%}} Two {{%/* /fragment */%}}
|
|
|
|
{{%/* fragment */%}} Three {{%/* /fragment */%}}
|
2018-04-27 00:25:43 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
{{% fragment %}} One {{% /fragment %}}
|
|
|
|
{{% fragment %}} Two {{% /fragment %}}
|
|
|
|
{{% fragment %}} Three {{% /fragment %}}
|