Add support for other extensions
devmattrick opened this issue · comments
Matthew McCune commented
As a standard, Nunjucks has adopted .njk
as an extension, however there are some people who may be using other extensions such as .nunjucks
or even .html
. I'm not exactly sure how to handle this sort of issue.-
chocolateboy commented
We can easily add .nunjucks
(and .nj
) as an alias for .njk
, though I'm not sure it's worth it since the nunjucks docs recommend/advise using .njk
.
chocolateboy commented
Closing this as .njk
is the standard and it's clearer than hijacking an existing extension like .html
, even if that were possible.