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 docs/guides/view_engines/ejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To enable [**ejs**](https://github.com/mde/ejs) support make use of the `viewEng

## Example usage

Let's try to do some translations with pug templates.
Let's try to do some translations with ejs templates.

```json title="src/i18n/en/test.json"
{
Expand All @@ -39,7 +39,7 @@ export class TestController {

```

```hbs title="src/view/page.hbs"
```ejs title="src/view/page.ejs"
<h1><%= t('test.HELLO', i18nLang, { username }) -%></h1>
```

Expand Down
Loading