4e0d34413b
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.
732 B
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 %}}