mamboer / hexo-renderer-j2

Nunjucks renderer plugin for Hexo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hexo-renderer-j2

Nunjucks renderer plugin for Hexo.

Inspired by hexo-renderer-nunjucks.

Installation

npm install hexo-renderer-j2 --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.

nunjucks:
  autoescape: true

File Extensions

This plugin supports the extensions as bellow:

  1. .nunjucks file extension
  2. .j2 Jinja 2 file extension
  3. .tpl custom template file extension

About

Nunjucks renderer plugin for Hexo.

License:MIT License


Languages

Language:JavaScript 100.0%