Skip to content

Commit 460af2e

Browse files
authored
Update website-listings-custom.qmd (#1159)
Fix what appears to be a typo (the example that follows uses `templateParams`instead of `params`).
1 parent de3e9da commit 460af2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/websites/website-listings-custom.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ listing:
216216
param1: "param-value"
217217
```
218218

219-
Template parameters can then be accessed in your template using `<%= params.param1 %>`. For example, we can modify the above `custom.ejs` template as follows:
219+
Template parameters can then be accessed in your template using `<%= templateParams.param1 %>`. For example, we can modify the above `custom.ejs` template as follows:
220220

221221
``` html
222222
<h3><%= templateParams.param1 %></h3>

0 commit comments

Comments
 (0)