Document usage of class slide attribute and don't pfx it

This commit is contained in:
dzello
2018-07-23 00:49:48 +02:00
parent 77d38e4f34
commit bf4801d37b
4 changed files with 8 additions and 5 deletions
+1
View File
@@ -9,6 +9,7 @@ highlight_theme = "color-brewer"
transition = "slide"
transition_speed = "fast"
[reveal_hugo.templates.hotpink]
class = "hotpink"
background = "#FF4081"
+++
+2 -1
View File
@@ -4,7 +4,7 @@ weight = 34
## Slide
Customize individual slide attributes like id, background color and transition. Use the same keys as Reveal.js but omit the 'data-' prefix.
Customize individual slide attributes like id, class, background color and transition. Use the same keys as Reveal.js but omit the 'data-' prefix.
---
@@ -98,6 +98,7 @@ Create templates in config.toml, _index.md or the current page's front matter. P
```toml
[reveal_hugo.templates.hotpink]
class = "hotpink"
background = "#FF4081"
```