Rename templates to .njk files to allow syntax highlighting.

This commit is contained in:
Michael Teeuw 2017-10-18 13:52:11 +02:00
parent 995296ef53
commit a79e1b6ca1
3 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ Module.register("weather",{
// Select the template depending on the display type.
getTemplate: function () {
return this.config.type.toLowerCase() + ".html"
return this.config.type.toLowerCase() + ".njk"
},
// Add all the data to the template.