ablipan / hexo-renderer-twig

hexo-renderer-twig
MIT License
2 stars 4 forks source link

hexo-renderer-Twig

Add support for Twig.

Why not Nunjucks

Nunjucks is weird, like it's name. e.g.:

{{ "true" if foo else "false" }}

Here in twig, much better:

{{ foo ? "true" : "false" }}

Installation

$ npm install hexo-renderer-twig --save