themen-hugo-35c3-reveal/exampleSite/content/home/body.md

47 lines
732 B
Markdown
Raw Normal View History

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
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 %}}