{"id":15138765,"url":"https://github.com/hexojs/hexo-renderer-nunjucks","last_synced_at":"2025-09-29T08:31:17.950Z","repository":{"id":43649381,"uuid":"234539890","full_name":"hexojs/hexo-renderer-nunjucks","owner":"hexojs","description":"Add support for Nunjucks templates to Hexo websites","archived":true,"fork":false,"pushed_at":"2023-04-20T21:34:36.000Z","size":295,"stargazers_count":3,"open_issues_count":9,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-09-22T12:31:42.752Z","etag":null,"topics":["hexo-plugin","nunjucks","nunjucks-templates"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hexojs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-01-17T12:02:30.000Z","updated_at":"2023-07-29T00:01:28.000Z","dependencies_parsed_at":"2024-01-29T19:07:59.483Z","dependency_job_id":null,"html_url":"https://github.com/hexojs/hexo-renderer-nunjucks","commit_stats":{"total_commits":20,"total_committers":3,"mean_commits":6.666666666666667,"dds":0.35,"last_synced_commit":"c71a1979535c47c3949ff6bf3a85691641841e12"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-renderer-nunjucks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-renderer-nunjucks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-renderer-nunjucks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-renderer-nunjucks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexojs","download_url":"https://codeload.github.com/hexojs/hexo-renderer-nunjucks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219874011,"owners_count":16554535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hexo-plugin","nunjucks","nunjucks-templates"],"created_at":"2024-09-26T07:44:26.179Z","updated_at":"2025-09-29T08:31:17.629Z","avatar_url":"https://github.com/hexojs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"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`.\u003cbr\u003e\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 \u0026\u0026 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexojs%2Fhexo-renderer-nunjucks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexojs%2Fhexo-renderer-nunjucks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexojs%2Fhexo-renderer-nunjucks/lists"}