788 B
788 B
+++ weight = 20 +++
Usage
Prerequisite
Add this to your config.toml
:
[outputFormats.Reveal]
baseName = "index"
mediaType = "text/html"
isHTML = true
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 relative to other files.
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 relative to other files.