Skip to content

Commit

Permalink
escapes template rendering in usage example
Browse files Browse the repository at this point in the history
This allows the code to be shown without triggering a template render.
  • Loading branch information
davidovich committed Jan 21, 2023
1 parent ebe36e2 commit 8380b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exampleSite/data/common/nested.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ example = "I'm a slide"
Set the `content` attribute to "common.nested.example":
```markdown
{{< slide content="common.nested.example" >}}
{{</* slide content="common.nested.example" */>}}
```
'''
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/data/home.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ example = "I'm a slide"
Set the `content` attribute to "home.example":
```markdown
{{< slide content="home.example" >}}
{{</* slide content="home.example" */>}}
```
---
Expand Down

0 comments on commit 8380b12

Please sign in to comment.