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

92 lines
788 B
Markdown

+++
weight = 20
+++
# Usage
---
## Prerequisite
Add this to your `config.toml`:
```toml
[outputFormats.Reveal]
baseName = "index"
mediaType = "text/html"
isHTML = true
```
---
## Presentation for `/`
In `content/_index.md`:
```markdown
+++
outputs = ["Reveal"]
+++
# Slide 1
---
# Slide 2
```
---
Put more slides in `content/home/*.md`
```markdown
+++
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`:
```markdown
+++
outputs = ["Reveal"]
+++
# Slide 1
---
# Slide 2
```
---
Put more slides in `content/{section}/*.md`
```markdown
+++
weight = 10
+++
# Slide 3
---
# Slide 4
```
Use `weight` to specify the order relative to other files.