mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-06-05 21:28:28 +02:00
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.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
+++
|
||||
title = "reveal-hugo example presentation"
|
||||
outputs = ["Reveal"]
|
||||
+++
|
||||
|
||||
# reveal-hugo
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
+++
|
||||
title = "Example of a section presentation"
|
||||
outputs = ["Reveal"]
|
||||
reveal_theme = "moon"
|
||||
+++
|
||||
|
||||
|
||||
@@ -22,7 +22,11 @@ weight = 20
|
||||
|
||||
# reveal-hugo
|
||||
|
||||
Create multiple presentations, one for each section in `content`.
|
||||
Create a presentation for any section by adding this to its `_index.md`:
|
||||
|
||||
```toml
|
||||
outputs = ["Reveal"]
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user