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:
dzello
2018-04-27 22:56:09 -07:00
parent 4a59fa2a58
commit 4e0d34413b
82 changed files with 78 additions and 28 deletions
+1
View File
@@ -1,5 +1,6 @@
+++
title = "reveal-hugo example presentation"
outputs = ["Reveal"]
+++
# reveal-hugo
+1
View File
@@ -1,5 +1,6 @@
+++
title = "Example of a section presentation"
outputs = ["Reveal"]
reveal_theme = "moon"
+++
+5 -1
View File
@@ -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"]
```
---