Nevertheless Published Mine
Wondering what’s next for npm?Check out our public roadmap! »

hexo-renderer-twigTypeScript icon, indicating that this package has built-in type declarations

1.13.4 • Public • Published

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

Install

npm i hexo-renderer-twig

DownloadsWeekly Downloads

8

Version

1.13.4

License

MIT

Unpacked Size

3.08 kB

Total Files

8

Last publish

Collaborators

  • avatar