Skip to content

Commit

Permalink
Fix another example
Browse files Browse the repository at this point in the history
  • Loading branch information
munshkr committed Aug 4, 2016
1 parent 8010cc8 commit d05b8d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ You can use the `include()` local function in your templates:

```html
<!-- in 'app/foo.html.ejs' -->
<li id="<%= id %>"><%- include('item', { id: id, name: name }) %></li>
<li id="<%= id %>"><%- include('foo/item.html', { id: id, name: name }) %></li>

<!-- in 'app/item.html.ejs' -->
<!-- in 'app/foo/item.html.ejs' -->
<span><%= name.toUpperCase() %> (<%= id %>)</span>
```

Expand Down

0 comments on commit d05b8d7

Please sign in to comment.