Skip to content

Commit

Permalink
Fix markup in as-object doc exmaple
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbeck committed Jul 3, 2024
1 parent 8d0c9f8 commit c0a9c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/views/template-syntax/view-attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ Similar to the `as-array` attribute, a property with the provided name is made a
```jinja
<ul>
{{each _page.items as #item}}
<li as-object="listItems, #item.id">{{#item.name}}
<li as-object="listItems, #item.id">{{#item.name}}</li>
{{/each}}
</ul>v
</ul>
```

```js
Expand Down

0 comments on commit c0a9c30

Please sign in to comment.