From 6d767f19345b6b3a5d975388753d2e878f97dc39 Mon Sep 17 00:00:00 2001 From: Milos Jevtovic Date: Tue, 8 Aug 2017 18:21:16 +0200 Subject: [PATCH 1/3] Update Jade to Pug --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 30d7ce7..1d9f377 100644 --- a/Readme.md +++ b/Readme.md @@ -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() From 2ef164e8c8b4b415be0cb2ed47c048b676c4d123 Mon Sep 17 00:00:00 2001 From: Milos Jevtovic Date: Tue, 8 Aug 2017 18:29:10 +0200 Subject: [PATCH 2/3] Jade to Pug --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 1d9f377..1a21c2e 100644 --- a/Readme.md +++ b/Readme.md @@ -80,7 +80,7 @@ For example, lets use the below custom message template named `my_message_templa <% }) %> -[Jade](http://jade-lang.com/) (`my_message_template.jade`): +[Pug (was Jade)](https://pugjs.org/):(`my_message_template.jade`): .messages each type in Object.keys(messages) @@ -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) From 3e285e0cce8b66583a845984785b503988c65d3a Mon Sep 17 00:00:00 2001 From: Milos Jevtovic Date: Tue, 8 Aug 2017 18:30:43 +0200 Subject: [PATCH 3/3] Update template extension to .pug --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 1a21c2e..9967282 100644 --- a/Readme.md +++ b/Readme.md @@ -80,7 +80,7 @@ For example, lets use the below custom message template named `my_message_templa <% }) %> -[Pug (was Jade)](https://pugjs.org/):(`my_message_template.jade`): +[Pug (was Jade)](https://pugjs.org/):(`my_message_template.pug`): .messages each type in Object.keys(messages)