themen-hugo-35c3-reveal/exampleSite/content/home/body.md
dzello 4e0d34413b Reveal should be an outputFormat
Now any Hugo section can be configured to generate a presentation without altering its type, and the theme is more easily copied into existing sites without conflicting with any preexisting layouts.
2018-04-27 22:56:09 -07:00

732 B

+++ weight = 20 +++

reveal-hugo

Content for the root presentation lives in content/_index.md and content/home.


reveal-hugo

Content files are ordered by weight when added to the presentation.

+++
weight = 20
+++

reveal-hugo

Create a presentation for any section by adding this to its _index.md:

outputs = ["Reveal"]

reveal-hugo

Use the fragment shortcode to make content appear incrementally.

{{%/* fragment */%}} One {{%/* /fragment */%}}
{{%/* fragment */%}} Two {{%/* /fragment */%}}
{{%/* fragment */%}} Three {{%/* /fragment */%}}

{{% fragment %}} One {{% /fragment %}} {{% fragment %}} Two {{% /fragment %}} {{% fragment %}} Three {{% /fragment %}}