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

47 lines
732 B
Markdown
Raw Normal View History

2018-04-26 17:25:43 -05:00
+++
weight = 20
+++
# reveal-hugo
2018-04-27 01:04:32 -05:00
Content for the root presentation lives in `content/_index.md` and `content/home`.
2018-04-26 17:25:43 -05:00
---
# reveal-hugo
2018-04-27 01:04:32 -05:00
Content files are ordered by `weight` when added to the presentation.
2018-04-26 17:25:43 -05: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 01:04:32 -05:00
---
# reveal-hugo
2018-04-27 01:44:00 -05:00
Use the `fragment` shortcode to make content appear incrementally.
2018-04-26 17:25:43 -05:00
```
{{%/* fragment */%}} One {{%/* /fragment */%}}
2018-04-26 18:14:26 -05:00
{{%/* fragment */%}} Two {{%/* /fragment */%}}
{{%/* fragment */%}} Three {{%/* /fragment */%}}
2018-04-26 17:25:43 -05:00
```
{{% fragment %}} One {{% /fragment %}}
{{% fragment %}} Two {{% /fragment %}}
{{% fragment %}} Three {{% /fragment %}}