Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Jade to Pug #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Call the `messages()` function as specified by your rendering engine:

<%- messages() %>

[Jade](http://jade-lang.com/):
[Pug (was Jade)](https://pugjs.org/):

!= messages()

Expand Down Expand Up @@ -80,7 +80,7 @@ For example, lets use the below custom message template named `my_message_templa
<% }) %>
</div>

[Jade](http://jade-lang.com/) (`my_message_template.jade`):
[Pug (was Jade)](https://pugjs.org/):(`my_message_template.pug`):

.messages
each type in Object.keys(messages)
Expand All @@ -96,7 +96,7 @@ Next, pass the template name, `my_message_template`, as a parameter to the `mess

<%- messages('my_message_template', locals) %>

[Jade](http://jade-lang.com/):
[Pug (was Jade)](https://pugjs.org/):

!= messages('my_message_template', locals)

Expand Down