Mention to use closing or self-closing tags for slide shortcode

This commit is contained in:
dzello
2018-07-22 11:50:50 +02:00
parent 52eec0fd6a
commit b9d502335b
3 changed files with 12 additions and 2 deletions
@@ -16,6 +16,11 @@ Reveal.js has its own [markdown processor](https://github.com/hakimel/reveal.js#
{{</* /markdown */>}}
```
<br>
<small>
💡 Make sure to use the `{{</* */>}}` shortcode syntax to avoid rendering by Hugo.
</small>
---
<!-- .slide: data-background="#FF4081" -->
+1 -1
View File
@@ -44,6 +44,6 @@ Customize individual slide parameters like background color and transition.
{{% section %}}
{{< slide content="home.example" >}}
{{% slide content="home.example" /%}}
{{% /section %}}