{"id":16683420,"url":"https://github.com/ctolkien/sodapop.breadcrumbtaghelper","last_synced_at":"2026-03-16T21:36:51.835Z","repository":{"id":144186939,"uuid":"122703645","full_name":"ctolkien/SodaPop.BreadcrumbTagHelper","owner":"ctolkien","description":null,"archived":false,"fork":false,"pushed_at":"2018-11-14T00:22:11.000Z","size":526,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T08:26:05.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/ctolkien.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-02-24T04:40:52.000Z","updated_at":"2018-11-14T00:22:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"650207d0-4831-4dcc-8229-09cf273568f9","html_url":"https://github.com/ctolkien/SodaPop.BreadcrumbTagHelper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctolkien%2FSodaPop.BreadcrumbTagHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctolkien%2FSodaPop.BreadcrumbTagHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctolkien%2FSodaPop.BreadcrumbTagHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctolkien%2FSodaPop.BreadcrumbTagHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctolkien","download_url":"https://codeload.github.com/ctolkien/SodaPop.BreadcrumbTagHelper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243402930,"owners_count":20285326,"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":[],"created_at":"2024-10-12T14:24:33.060Z","updated_at":"2025-12-28T21:58:52.211Z","avatar_url":"https://github.com/ctolkien.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SodaPop.BreadcrumbTagHelper\r\n\r\nGenerates schema.org compliant breadcrumbs.\r\n\r\n## Install\r\n\r\n```\r\ndotnet add package SodaPop.BreadcrumbTagHelper --version 1.0.0-beta1\r\n```\r\n\r\nAdd the following to your `_ViewImports.cshtml` file:\r\n\r\n```\r\n@addTagHelper *, SodaPop.BreadcrumbTagHelper\r\n```\r\n\r\n## Usage\r\n\r\n```html\r\n\u003cbreadcrumb-list\u003e\r\n    \u003cbreadcrumb\u003e\r\n        \u003cbreadcrumb-anchor asp-action=\"index\" asp-controller=\"home\"\u003e\r\n            Home\r\n        \u003c/breadcrumb-anchor\u003e\r\n    \u003c/breadcrumb\u003e\r\n    \u003cbreadcrumb\u003e\r\n        \u003cbreadcrumb-anchor asp-action=\"about\" asp-controller=\"home\"\u003e\r\n            About Us\r\n        \u003c/breadcrumb-anchor\u003e\r\n    \u003c/breadcrumb\u003e\r\n\u003c/breadcrumb-list\u003e\r\n```\r\n\r\nAlso supports `Razor Pages`\r\n\r\n```html\r\n\u003cbreadcrumb-list\u003e\r\n    \u003cbreadcrumb\u003e\r\n        \u003cbreadcrumb-anchor asp-page=\"/index\"\u003e\r\n            Home\r\n        \u003c/breadcrumb-anchor\u003e\r\n    \u003c/breadcrumb\u003e\r\n    \u003cbreadcrumb\u003e\r\n        \u003cbreadcrumb-anchor asp-page=\"/about\"\u003e\r\n            About Us\r\n        \u003c/breadcrumb-anchor\u003e\r\n    \u003c/breadcrumb\u003e\r\n\u003c/breadcrumb-list\u003e\r\n```\r\n\r\n## Rendered Output\r\n\r\n```html\r\n\u003col itemscope=\"\" itemtype=\"http://schema.org/BreadcrumbList\"\u003e\r\n    \u003cli property=\"itemListElement\" typeof=\"ListItem\"\u003e\r\n        \u003ca property=\"item\" typeof=\"WebPage\" href=\"/\"\u003e\r\n            \u003cspan property=\"name\"\u003e\r\n                Home\r\n           \u003c/span\u003e\r\n            \u003cmeta content=\"1\" property=\"position\"\u003e\u003c/a\u003e\r\n    \u003c/li\u003e\r\n    \u003cli property=\"itemListElement\" typeof=\"ListItem\"\u003e\r\n        \u003ca property=\"item\" typeof=\"WebPage\" class=\"active\" href=\"/About\"\u003e\r\n            \u003cspan property=\"name\"\u003e\r\n                About Us\r\n            \u003c/span\u003e\r\n            \u003cmeta content=\"2\" property=\"position\"\u003e\u003c/a\u003e\r\n    \u003c/li\u003e\r\n\u003c/ol\u003e\r```\r\rThings to note:\r\r* The `position` property will automatically be set based on it's position in the breadcrumb list\r\n* A class of `active` will automatically be applied to the anchor if you're on a matching mvc route or razor page (would love help in making this more flexible)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctolkien%2Fsodapop.breadcrumbtaghelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctolkien%2Fsodapop.breadcrumbtaghelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctolkien%2Fsodapop.breadcrumbtaghelper/lists"}