Allow use of .njk extension for template files.

This commit is contained in:
Michael Teeuw
2017-10-18 13:49:03 +02:00
parent c75662e720
commit f4d5996a88
3 changed files with 6 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ Module.register("helloworld",{
},
getTemplate: function () {
return "helloworld.html"
return "helloworld.njk"
},
getTemplateData: function () {