mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 05:07:05 +00:00
Allow use of .njk extension for template files.
This commit is contained in:
5
modules/default/helloworld/helloworld.njk
Normal file
5
modules/default/helloworld/helloworld.njk
Normal file
@@ -0,0 +1,5 @@
|
||||
<!--
|
||||
Use ` | safe` to allow html tages within the text string.
|
||||
https://mozilla.github.io/nunjucks/templating.html#autoescaping
|
||||
-->
|
||||
<div>{{text | safe}}</div>
|
Reference in New Issue
Block a user