765 B
765 B
+++ weight = 20 +++
Usage
Prerequisite
Add this to your config.toml
:
[outputFormats.Reveal]
baseName = "index"
mediaType = "text/html"
isHTML = true
Make a presentation for /
In content/_index.md
:
+++
outputs = ["Reveal"]
+++
# Slide 1
---
# Slide 2
Put more slides in content/home/*.md
+++
weight = 10
+++
# Slide 3
---
# Slide 4
Use weight
to specify the order
Make a presentation for any Hugo section
In content/{section}/_index.md
:
+++
outputs = ["Reveal"]
+++
# Slide 1
---
# Slide 2
Put more slides in content/{section}/*.md
+++
weight = 10
+++
# Slide 3
---
# Slide 4
Use weight
to specify the order