Skip to content

Commit

Permalink
fix: typos in ejs.md (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
velvet-lynx authored Jan 2, 2025
1 parent e71196e commit 1efa63d
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 1efa63d

Please sign in to comment.