Fix nunjucks templates to actually work