mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-06-07 22:13:31 +02:00
Mention to use closing or self-closing tags for slide shortcode
This commit is contained in:
@@ -23,9 +23,14 @@ example = "I'm a slide"
|
||||
Set the `content` attribute to "home.example":
|
||||
|
||||
```
|
||||
{{< slide content="home.example" >}}
|
||||
{{% slide content="home.example" /%}}
|
||||
```
|
||||
|
||||
<br>
|
||||
<small>
|
||||
💡 Make sure to use a closing or self-closing shortcode.
|
||||
</small>
|
||||
|
||||
---
|
||||
|
||||
💡 Each data template entry can contain one or more slides, separated by `---` with newlines.
|
||||
|
||||
Reference in New Issue
Block a user