mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-10 17:24:44 +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.
|
// Select the template depending on the display type.
|
||||||
getTemplate: function () {
|
getTemplate: function () {
|
||||||
return this.config.type.toLowerCase() + ".html"
|
return this.config.type.toLowerCase() + ".njk"
|
||||||
},
|
},
|
||||||
|
|
||||||
// Add all the data to the template.
|
// Add all the data to the template.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user