Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ const resolve = require('path').resolve
```
and in ejs template files (for example templates/index.ejs) use something like:
```html
<% include header.ejs %>
<%- include('header.ejs') %>
```
with a path relative to the current page, or an absolute path.
with a path relative to the current page, or an absolute path. Please check this example [here](./templates/layout-with-includes.ejs)

To use partials in mustache you will need to pass the names and paths in the options parameter:
```js
Expand Down