{"id":15630821,"url":"https://github.com/marnen/middleman-breadcrumbs","last_synced_at":"2025-04-30T06:28:59.653Z","repository":{"id":20605255,"uuid":"23886273","full_name":"marnen/middleman-breadcrumbs","owner":"marnen","description":"Breadcrumbs helper for Middleman (http://www.middlemanapp.com)","archived":false,"fork":false,"pushed_at":"2020-07-26T18:06:55.000Z","size":38,"stargazers_count":11,"open_issues_count":10,"forks_count":12,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-18T21:31:23.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/marnen.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}},"created_at":"2014-09-10T18:17:16.000Z","updated_at":"2018-10-19T16:22:54.000Z","dependencies_parsed_at":"2022-08-31T08:40:43.889Z","dependency_job_id":null,"html_url":"https://github.com/marnen/middleman-breadcrumbs","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marnen%2Fmiddleman-breadcrumbs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marnen%2Fmiddleman-breadcrumbs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marnen%2Fmiddleman-breadcrumbs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marnen%2Fmiddleman-breadcrumbs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marnen","download_url":"https://codeload.github.com/marnen/middleman-breadcrumbs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251653659,"owners_count":21622169,"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-03T10:36:38.045Z","updated_at":"2025-04-30T06:28:59.633Z","avatar_url":"https://github.com/marnen.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://travis-ci.org/marnen/middleman-breadcrumbs.svg)\n\n# middleman-breadcrumbs\n\nBreadcrumbs helper for [Middleman](https://middlemanapp.com/)\n\n## Installation\n\nInstall the gem as usual: put `gem 'middleman-breadcrumbs'` in Gemfile, then run `bundle install`.\n\nPut `activate :breadcrumbs` in config.rb (*not* in the `configure :build` block).\n\n## Configuration\n\nThis gem has two configuration options, which are set in the [usual way for Middleman extensions](https://middlemanapp.com/advanced/configuration/#configuring-extensions).\n\n\u003cdl\u003e\n  \u003cdt\u003e\n    \u003ccode\u003e:separator\u003c/code\u003e\n  \u003c/dt\u003e\n  \u003cdd\u003e\n    String that separates the breadcrumb levels. Default is \u003ccode\u003e\u0026nbsp;\u003e\u0026nbsp;\u003c/code\u003e.\n  \u003c/dd\u003e\n  \u003cdt\u003e\n    \u003ccode\u003e:wrapper\u003c/code\u003e\n  \u003c/dt\u003e\n  \u003cdd\u003e\n    Tag name (as a symbol) in which to wrap each breadcrumb level. Default is \u003ccode\u003enil\u003c/code\u003e, which means no wrapping.\n  \u003c/dd\u003e\n\u003c/dl\u003e\n\nFor example, if you wanted to wrap the breadcrumb levels in `\u003cli\u003e` elements and separate them with bullets, you would put the following in `config.rb`:\n\n```ruby\nactivate :breadcrumbs, separator: ' • ', wrapper: :li\n```\n\n\n## Usage\n\nIn your view files, just call `breadcrumbs(current_page)` to display breadcrumbs. By default, this will use the separator and wrapper defined in the `config.rb` file.\n\nIf you want to override the separator or wrapper defined in the `config.rb` file, pass the appropriate options to the `breadcrumbs` method:\n\n```erb\n\u003c%= breadcrumbs(current_page, separator: ' ||| ', wrapper: :div) %\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarnen%2Fmiddleman-breadcrumbs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarnen%2Fmiddleman-breadcrumbs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarnen%2Fmiddleman-breadcrumbs/lists"}