{"id":16606229,"url":"https://github.com/msudgh/hexo-breadcrumb","last_synced_at":"2025-03-16T21:30:53.837Z","repository":{"id":57263253,"uuid":"125323389","full_name":"msudgh/hexo-breadcrumb","owner":"msudgh","description":"Generate breadcrumb for Hexo","archived":false,"fork":false,"pushed_at":"2024-10-04T09:51:13.000Z","size":656,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-27T14:31:18.733Z","etag":null,"topics":["breadcrumb","hexo","nodejs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/hexo-breadcrumb","language":"TypeScript","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/msudgh.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2018-03-15T06:37:06.000Z","updated_at":"2024-10-04T09:51:16.000Z","dependencies_parsed_at":"2023-11-07T00:33:21.137Z","dependency_job_id":"368e5056-e06e-4f8a-b67e-0c96676cc744","html_url":"https://github.com/msudgh/hexo-breadcrumb","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msudgh%2Fhexo-breadcrumb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msudgh%2Fhexo-breadcrumb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msudgh%2Fhexo-breadcrumb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msudgh%2Fhexo-breadcrumb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msudgh","download_url":"https://codeload.github.com/msudgh/hexo-breadcrumb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830939,"owners_count":20354853,"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":["breadcrumb","hexo","nodejs"],"created_at":"2024-10-12T01:06:24.636Z","updated_at":"2025-03-16T21:30:53.555Z","avatar_url":"https://github.com/msudgh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hexo-breadcrumb\n\n[![NPM](https://img.shields.io/npm/v/hexo-breadcrumb)](https://www.npmjs.com/package/hexo-breadcrumb)\n[![License](https://img.shields.io/github/license/msudgh/hexo-breadcrumb)](LICENSE)\n\nA Hexo plugin to generate breadcrumb navigation for post and page layouts.\n\n## Features\n\n- Compatible with post and page layouts.\n- Set custom title for the home page.\n- Customize delimiter and styling.\n- Accessible navigation with ARIA attributes of navigation.\n\n## Installation\n\n1. [**ni**](https://github.com/antfu/ni): `ni hexo-breadcrumb -D`\n2. [**npm**](https://npmjs.com/): `npm i hexo-breadcrumb -D`\n3. [**yarn**](https://yarnpkg.com/): `yarn add hexo-breadcrumb -D`\n4. [**pnpm**](https://pnpm.io/): `pnpm add hexo-breadcrumb -D`\n\n## Usage\n\n### Configuration\n\nIn `_config.yml` file, specify the breadcrumb settings as following:\n\n```yaml\nbreadcrumb:\n  delimiter:\n    # /, \u003e, etc.\n    content: \"/\"\n    # Applied on ::after pseudo element.\n    style: \"font-weight: bold;\"\n  aria:\n    nav: \"Breadcrumb\"\n  homepage:\n    # Customize the title for the homepage in the breadcrumb.\n    title: Home\n  templates:\n    - layout: post\n      tokens:\n        - home\n        - category\n        - title\n    - layout: page\n      tokens:\n        - home\n        - title\n```\n\n### Integration with Hexo themes\n\nAdd the following snippets to a layout file in order to display the breadcrumb.\n\n```ejs\n\u003c%- page.breadcrumb %\u003e\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsudgh%2Fhexo-breadcrumb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsudgh%2Fhexo-breadcrumb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsudgh%2Fhexo-breadcrumb/lists"}