1.1.0 • Published 8 years ago
hexo-renderer-j2 v1.1.0
hexo-renderer-j2
Nunjucks renderer plugin for Hexo.
Inspired by hexo-renderer-nunjucks.
Installation
npm install hexo-renderer-j2 --saveConfiguration
Nunjucks can be configured by editing the main _config.yml file using the nunjucks namespace. Configuration options can be found in Nunjucks API documentation.
nunjucks:
autoescape: trueFile Extensions
This plugin supports the extensions as bellow:
.nunjucksfile extension.j2Jinja 2 file extension.tplcustom template file extension