Skip to content

Commit

Permalink
Update website-listings-custom.qmd (#1159)
Browse files Browse the repository at this point in the history
Fix what appears to be a typo (the example that follows uses `templateParams`instead of `params`).
  • Loading branch information
andrewpbray authored Jun 14, 2024
1 parent de3e9da commit 460af2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/websites/website-listings-custom.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ listing:
param1: "param-value"
```

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

``` html
<h3><%= templateParams.param1 %></h3>
Expand Down

0 comments on commit 460af2e

Please sign in to comment.