mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-10 09:14:37 +00:00
Rename templates to .njk files to allow syntax highlighting.
This commit is contained in:
parent
995296ef53
commit
a79e1b6ca1
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user