{"_id":"hexo-renderer-nunjucks","_rev":"1520170","name":"hexo-renderer-nunjucks","description":"Nunjucks renderer plugin for Hexo","dist-tags":{"latest":"2.0.0"},"maintainers":[{"email":"hi@abnerchou.me","name":"abnerchou"},{"email":"mateusz.derks@gmail.com","name":"ertrzyiks"},{"email":"hexojs@gmail.com","name":"hexobot"},{"email":"i@jhuang.me","name":"jlhwung"},{"email":"tommy351@gmail.com","name":"tommy351"}],"time":{"modified":"2026-10-03T15:29:18.000Z","created":"2015-08-27T06:09:57.055Z","2.0.0":"2020-04-26T07:40:42.326Z","1.0.5":"2016-05-23T05:33:59.010Z","1.0.4":"2015-08-27T22:39:30.585Z","1.0.3":"2015-08-27T19:22:16.317Z","1.0.2":"2015-08-27T18:21:53.016Z","1.0.0":"2015-08-27T06:09:57.055Z"},"users":{"ivanoats":true},"repository":{"type":"git","url":"git+https://github.com/hexojs/hexo-renderer-nunjucks.git"},"versions":{"2.0.0":{"name":"hexo-renderer-nunjucks","version":"2.0.0","description":"Nunjucks renderer plugin for Hexo","main":"index.js","scripts":{"eslint":"eslint .","test":"mocha --reporter spec test/index.js","test-cov":"nyc npm run test"},"directories":{"lib":"./lib"},"repository":{"type":"git","url":"git+https://github.com/hexojs/hexo-renderer-nunjucks.git"},"keywords":["hexo","nunjucks","renderer"],"license":"MIT","dependencies":{"hexo-fs":"^3.0.0","lodash.toarray":"^4.4.0","nunjucks":"^3.2.1"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.1.0","eslint-config-hexo":"^4.0.0","mocha":"^7.1.2","nyc":"^15.0.1"},"engines":{"node":">=10.0.0"},"gitHead":"e54e88c0c902367901986bbb57626d797326b567","bugs":{"url":"https://github.com/hexojs/hexo-renderer-nunjucks/issues"},"homepage":"https://github.com/hexojs/hexo-renderer-nunjucks#readme","_id":"hexo-renderer-nunjucks@2.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-T94azwntO1UKAlrSQKID60+yCnwdjuGWTyXnTn8tCps2zQnlkEULgy9zmD2RJdo3O3S8WsLWb7xcWI0b4I0bGA==","shasum":"b738ca92f732b0b6bc4b0bfd8214064fbd9fe025","tarball":"http://registry-npm.ywwl.com/hexo-renderer-nunjucks/download/hexo-renderer-nunjucks-2.0.0.tgz","fileCount":7,"unpackedSize":6992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJepTr6CRA9TVsSAnZWagAArR8QAIYz+aFFlVwGWIJ3SsJZ\n40rjFk3Kg0J2MWnGFtiYimmWdUjzxctY3WiMTVX2JjbxQPCHdN7YRfZ+afHg\npfcT0YZTae4P18iOruUKIiQCba4VMvejfXY4wbBf980eJN2a4I7uHaOEi2Qy\n5bgh9mlPZ/4a6RBmMUhM+g8pj7Uh7tl1tLRp296PUy3Q9Jf4Ouvue5Reavlg\njswG4VxRgwUsHGdYpQzpcSHsUz6wmFS3OQ0PHBwx2PGNANnSmgQ4UgIskK1o\nR+/2eZuxJ/UZtgfanS9L2mjcV6zVue7fa3/26t/qa4T91dY7TE/rXAJpdnfk\nt8O1fb47fdwej5gBmgj0YoZeo1ypuqrN8J5TTDEwYt59ym3ikIdL3XX2OMPT\nfLu6JzIQ8f+oI6uMGpS9tusj3gSM2hSkho5fEsvEdHD737+ekahaRbybk8St\nCWQxUI/vZQMDhOaLBfS+liqf8odFoks7GW2/gGX4XqZt/aRoiLtDZL/jX48w\nQJHhUQcr5W/Kaje3ipua7UT4EMd2Eif+zRG6GldFCjD1hY7CdgR4f3CXB07j\n4gaGs3Nne/Wp2d27uucXD1ei3hjwoR8BkP49VFWljFGJOgfGJFuhNoi0Du1F\nHIjihz+UTFE5vkzF+GOaGWXDNf+uc2p+MAg4xDKTKH9L1GJyHJnHozs/ujVA\n/BDY\r\n=LmRA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmtAtWIDS2/RjPUYsoe9B4b3AhqGpA1nRgL7rOYfH+EwIgW+5W9wO4qX2JAGClhVfivKb0kQGCaAzeL67bmF9f0HI="}],"size":3235,"noattachment":false,"key":"/hexo-renderer-nunjucks/-/hexo-renderer-nunjucks-2.0.0.tgz"},"maintainers":[{"email":"hi@abnerchou.me","name":"abnerchou"},{"email":"mateusz.derks@gmail.com","name":"ertrzyiks"},{"email":"hexojs@gmail.com","name":"hexobot"},{"email":"i@jhuang.me","name":"jlhwung"},{"email":"tommy351@gmail.com","name":"tommy351"}],"_npmUser":{"name":"oncletom","email":"hi@oncletom.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hexo-renderer-nunjucks_2.0.0_1587886842180_0.48285363709063556"},"_hasShrinkwrap":false,"publish_time":1587886842326,"_cnpm_publish_time":1587886842326},"1.0.5":{"name":"hexo-renderer-nunjucks","version":"1.0.5","description":"Nunjucks renderer for Hexo","author":{"name":"Morris Allison III","email":"author@morris.xyz"},"license":"ISC","main":"index.js","homepage":"https://github.com/morrisallison/hexo-renderer-nunjucks#readme","repository":{"type":"git","url":"git+https://github.com/morrisallison/hexo-renderer-nunjucks.git"},"dependencies":{"lodash":"~4.12.0","nunjucks":"~2.4.2"},"devDependencies":{"typescript":"~1.8.10"},"scripts":{"build":"tsc -p ."},"keywords":["hexo","jinja","nunjucks","plugin","renderer"],"gitHead":"b683e213ef52eb325031db861c0c3300646f9324","bugs":{"url":"https://github.com/morrisallison/hexo-renderer-nunjucks/issues"},"_id":"hexo-renderer-nunjucks@1.0.5","_shasum":"3351ca9183dbac2f73157fcb7458ad1a303b5d7f","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"morrisallison","email":"author@morris.xyz"},"dist":{"shasum":"3351ca9183dbac2f73157fcb7458ad1a303b5d7f","tarball":"http://registry-npm.ywwl.com/hexo-renderer-nunjucks/download/hexo-renderer-nunjucks-1.0.5.tgz","integrity":"sha512-/+FKwd25eozMEmjpWJrpsL/YEODogPqSBVpIfwXPc7wotgSvyq76dIVGehtYpHIpXqoWWdBuoZeowcXx4r56wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUPXvBYtzRWfpUsl+/CyBY8baG+23KPi09rSbzZfWxTQIhAL/Y9+NXdAWymdvGyEVxeQH9MBod1fYOQ2XewIg9zr4n"}],"size":1971,"noattachment":false,"key":"/hexo-renderer-nunjucks/-/hexo-renderer-nunjucks-1.0.5.tgz"},"maintainers":[{"name":"morrisallison","email":"npm@morrisallison.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hexo-renderer-nunjucks-1.0.5.tgz_1463981636707_0.5936081104446203"},"directories":{},"deprecated":"hexo-renderer-nunjucks@2 is a rewrite of v1, consider upgrading for a smoother integration with hexo.","publish_time":1463981639010,"_cnpm_publish_time":1463981639010},"1.0.4":{"name":"hexo-renderer-nunjucks","version":"1.0.4","description":"Nunjucks renderer for Hexo","main":"index.js","dependencies":{"lodash":"^3.10.1","nunjucks":"^1.3.4"},"devDependencies":{},"keywords":["nunjucks","jinja","hexo","plugin","renderer"],"author":{"name":"Morris Allison III","email":"hello@morrisllison.com"},"license":"ISC","repository":{"type":"git","url":"git+https://bitbucket.org/morrisallison/hexo-renderer-nunjucks.git"},"homepage":"https://bitbucket.org/morrisallison/hexo-renderer-nunjucks#readme","gitHead":"605ee9d9c6aced5d59a574450778853bbb3c10e7","_id":"hexo-renderer-nunjucks@1.0.4","scripts":{},"_shasum":"3cb07909fc4cb04e33677a149b330bc05205f24a","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"morrisallison","email":"npm@morrisallison.com"},"dist":{"shasum":"3cb07909fc4cb04e33677a149b330bc05205f24a","tarball":"http://registry-npm.ywwl.com/hexo-renderer-nunjucks/download/hexo-renderer-nunjucks-1.0.4.tgz","integrity":"sha512-N78oDdamZjbZJRlyt6qa1b6xvhxDf8YFbfnryyWZTPAKJR8MuQUjpyO7xkEa96tYGUcNqNhG8n4IGT/Bit0f2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjXLiUsPnx2nL0/XZxmPb/FmsIPf5LXbmzGdY16uUO+wIhALqoJUaSYNBH/LXOFDUU4pCyQd81l2WNslJ3Vd0HYnES"}],"size":1549,"noattachment":false,"key":"/hexo-renderer-nunjucks/-/hexo-renderer-nunjucks-1.0.4.tgz"},"maintainers":[{"name":"morrisallison","email":"npm@morrisallison.com"}],"directories":{},"deprecated":"hexo-renderer-nunjucks@2 is a rewrite of v1, consider upgrading for a smoother integration with hexo.","publish_time":1440715170585,"_cnpm_publish_time":1440715170585},"1.0.3":{"name":"hexo-renderer-nunjucks","version":"1.0.3","description":"Nunjucks renderer for Hexo","main":"index.js","dependencies":{"nunjucks":"^1.3.4"},"devDependencies":{},"keywords":["nunjucks","jinja","hexo","plugin","renderer"],"author":{"name":"Morris Allison III","email":"hello@morrisllison.com"},"license":"ISC","repository":{"type":"git","url":"git+https://bitbucket.org/morrisallison/hexo-renderer-nunjucks.git"},"homepage":"https://bitbucket.org/morrisallison/hexo-renderer-nunjucks#readme","gitHead":"c704f85c9479c60d0cdb86d110d328cf7a59d65a","_id":"hexo-renderer-nunjucks@1.0.3","scripts":{},"_shasum":"14ecccf24a729b4f6de1255d44a1a4b00352c633","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"morrisallison","email":"npm@morrisallison.com"},"dist":{"shasum":"14ecccf24a729b4f6de1255d44a1a4b00352c633","tarball":"http://registry-npm.ywwl.com/hexo-renderer-nunjucks/download/hexo-renderer-nunjucks-1.0.3.tgz","integrity":"sha512-7CU1c0YLlvlz21Hxt959pQ16DJIYtXV3m3A6aoOHmK14u7PFYx0ni9C8olGqfe7igiKuS4QC3yeCvteTmiRP/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCx8y1EXLIXTqmmhdOHnCRCi0sBATEt1Nnm+vkX/qDa0gIgPT6n6JE6Mx2dl1RbFbtijLbtsksferFv1UEM14lNBqk="}],"size":1575,"noattachment":false,"key":"/hexo-renderer-nunjucks/-/hexo-renderer-nunjucks-1.0.3.tgz"},"maintainers":[{"name":"morrisallison","email":"npm@morrisallison.com"}],"directories":{},"deprecated":"hexo-renderer-nunjucks@2 is a rewrite of v1, consider upgrading for a smoother integration with hexo.","publish_time":1440703336317,"_cnpm_publish_time":1440703336317},"1.0.2":{"name":"hexo-renderer-nunjucks","version":"1.0.2","description":"Nunjucks renderer for Hexo","main":"index.js","dependencies":{"nunjucks":"^1.3.4"},"devDependencies":{},"keywords":["nunjucks","jinja","hexo","plugin","renderer"],"author":{"name":"Morris Allison III","email":"hello@morrisllison.com"},"license":"ISC","repository":{"type":"git","url":"git+https://bitbucket.org/morrisallison/hexo-renderer-nunjucks.git"},"homepage":"https://bitbucket.org/morrisallison/hexo-renderer-nunjucks#readme","gitHead":"561585aad73772ea745f6164cf2adbebed3cc791","_id":"hexo-renderer-nunjucks@1.0.2","scripts":{},"_shasum":"cbe5afd2cb8b506db245be8119a220269a28b369","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"morrisallison","email":"npm@morrisallison.com"},"dist":{"shasum":"cbe5afd2cb8b506db245be8119a220269a28b369","tarball":"http://registry-npm.ywwl.com/hexo-renderer-nunjucks/download/hexo-renderer-nunjucks-1.0.2.tgz","integrity":"sha512-EtSVEWB7uLN8CTxkyByjNuWrW1xeGLNLKX6RBJbOzjxJdOUFLL39aVl/3pfTS0DjpVnVw7W3FPmOzeeTizOi5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBqWLqVER9qYNnbZCyQCX41Xe2+hkYbww2gUwCLQYAxAAiEAqTGAUnplzkKXSmDgIWgA9VxriFCaWCJc1oAoB2MXKzU="}],"size":1463,"noattachment":false,"key":"/hexo-renderer-nunjucks/-/hexo-renderer-nunjucks-1.0.2.tgz"},"maintainers":[{"name":"morrisallison","email":"npm@morrisallison.com"}],"directories":{},"deprecated":"hexo-renderer-nunjucks@2 is a rewrite of v1, consider upgrading for a smoother integration with hexo.","publish_time":1440699713016,"_cnpm_publish_time":1440699713016},"1.0.0":{"name":"hexo-renderer-nunjucks","version":"1.0.0","description":"Nunjucks renderer for Hexo","main":"index.js","dependencies":{"nunjucks":"^1.3.4"},"devDependencies":{},"keywords":["nunjucks","jinja","hexo","plugin","renderer"],"author":{"name":"Morris Allison III","email":"hello@morrisllison.com"},"license":"ISC","repository":{"type":"git","url":"git+https://bitbucket.org/morrisallison/hexo-renderer-nunjucks.git"},"homepage":"https://bitbucket.org/morrisallison/hexo-renderer-nunjucks#readme","gitHead":"fce16f36f4fba21596a280a01e539100a40d2543","_id":"hexo-renderer-nunjucks@1.0.0","scripts":{},"_shasum":"61b65bc65c8a63e6512fc5d99a776d2ff8d1287e","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"morrisallison","email":"npm@morrisallison.com"},"dist":{"shasum":"61b65bc65c8a63e6512fc5d99a776d2ff8d1287e","tarball":"http://registry-npm.ywwl.com/hexo-renderer-nunjucks/download/hexo-renderer-nunjucks-1.0.0.tgz","integrity":"sha512-eMEoMcSRplZvgiY7NitvgTQVycyg9hmUyVKt/yd/LzlnyNKE3N2zcvSvxdX3uSYFH4Txihxh9faqzV6s4C8H6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQw3qmN7HhbbF9OoxrpK5MKHMPUCqGtUa+o1ntB95HVwIhAO/LF9hwy5AVL7/6Fqgvw5QAl8wkZ6NR46s02OfHG9CA"}],"size":1478,"noattachment":false,"key":"/hexo-renderer-nunjucks/-/hexo-renderer-nunjucks-1.0.0.tgz"},"maintainers":[{"name":"morrisallison","email":"npm@morrisallison.com"}],"directories":{},"deprecated":"hexo-renderer-nunjucks@2 is a rewrite of v1, consider upgrading for a smoother integration with hexo.","publish_time":1440655797055,"_cnpm_publish_time":1440655797055}},"readme":"# hexo-renderer-nunjucks\n\n[![Build Status](https://travis-ci.com/hexojs/hexo-renderer-nunjucks.svg?branch=master)](https://travis-ci.com/hexojs/hexo-renderer-nunjucks)  [![NPM version](https://badge.fury.io/js/hexo-renderer-nunjucks.svg)](http://badge.fury.io/js/hexo-renderer-nunjucks) [![Coverage Status](https://img.shields.io/coveralls/hexojs/hexo-renderer-nunjucks.svg)](https://coveralls.io/r/hexojs/hexo-renderer-nunjucks?branch=master)\n\nAdd support for [Nunjucks] templates to [Hexo] websites.\n\nAll template files suffixed with `.njk` or `.j2` ([Jinja2]) will be converted\nto HTML pages.\n\n## Installation\n\n**Note**: this module is installed by default since `hexo@5.x`.<br>\nFor other [Hexo] versions, run the following command in an Hexo project folder of yours.\n\n``` bash\n$ npm install hexo-renderer-nunjucks\n```\n\n## Development\n\n### Testing\n\nTests and code coverage are generated when running the following command.\n\n```bash\nnpm test\n```\n\nPull Requests will be checked automatically with [Coveralls]. Their bot\nwill comment about the coverage change as a comment to the code change.\n\n### Releasing a new version\n\nA bug fix and non-breaking code release can be created with the following commands:\n\n```bash\nnpm version patch\ngit push && git push --tags\n```\n\nRead [`npm version` documentation](https://docs.npmjs.com/cli/version)\nto learn more about other companion commands,\nsuch as `npm version major` (breaking change)\nand `npm version minor` (features, new stuff), amongst others.\n\n### Publishing on npm\n\nThis package is automatically published on npm as\n[`hexo-renderer-nunjucks`][npm-pkg] for every new Git tag.\n\nTwo secrets environment variables need to be setup in [Travis CI Repo Settings](https://travis-ci.com/hexojs/hexo-renderer-nunjucks/settings) :\n\n|                       | Description\n| ---                   | ---\n| `NPM_USER_EMAIL`      | Email of the npm user account with _write access_ to [`hexo-renderer-nunjucks`][npm-pkg].\n| `NPM_API_KEY`         | API Token associated to the aforementioned user.\n\n\n[Nunjucks]: https://mozilla.github.io/nunjucks/\n[Jinja2]: https://palletsprojects.com/p/jinja/\n[Hexo]: https://hexo.io/\n\n[npm-pkg]: https://npmjs.com/hexo-renderer-nunjucks\n[Coveralls]: https://coveralls.io/github/hexojs/hexo-renderer-nunjucks\n","_attachments":{},"homepage":"https://github.com/hexojs/hexo-renderer-nunjucks#readme","bugs":{"url":"https://github.com/hexojs/hexo-renderer-nunjucks/issues"},"license":"MIT"}