mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-06-07 22:13:31 +02:00
Document usage of class slide attribute and don't pfx it
This commit is contained in:
@@ -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"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user