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

@@ -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>