1.0.1 • Published 7 years ago
hexo-renderer-nunjucks3 v1.0.1
hexo-renderer-nunjucks3
Nunjucks renderer plugin for Hexo with async and use promise.
thanks the hexo-renderer-nunjucks
Installation
$ npm install hexo-renderer-nunjucks3 --save
Configuration
Nunjucks can be configured by editing the main _config.yml
file using the nunjucks
namespace.
Configuration options can be found in Nunjucks API documentation.
- Note:
autoescape
isfalse
by default.
nunjucks:
autoescape: true
File Extensions
This plugin supports the following file extensions.
.njk
.nunjucks
.j2
(Jinja 2)