Adding nunjucks middleware