Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/necojackarc/breadcrumbs_on_rails-json_ld
JSON-LD plugin for Breadcrumbs on Rails
https://github.com/necojackarc/breadcrumbs_on_rails-json_ld
breadcrumbs json-ld rails
Last synced: 2 days ago
JSON representation
JSON-LD plugin for Breadcrumbs on Rails
- Host: GitHub
- URL: https://github.com/necojackarc/breadcrumbs_on_rails-json_ld
- Owner: necojackarc
- License: mit
- Created: 2017-11-05T23:22:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T02:40:56.000Z (over 6 years ago)
- Last Synced: 2024-04-24T07:27:12.010Z (8 months ago)
- Topics: breadcrumbs, json-ld, rails
- Language: Ruby
- Homepage: https://rubygems.org/gems/breadcrumbs_on_rails-json_ld
- Size: 43.9 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# BreadcrumbsOnRails::JsonLd
[![Build Status](https://travis-ci.org/necojackarc/breadcrumbs_on_rails-json_ld.svg?branch=master)](https://travis-ci.org/necojackarc/breadcrumbs_on_rails-json_ld)
[![Maintainability](https://api.codeclimate.com/v1/badges/ff9c59d2fa0c960764ca/maintainability)](https://codeclimate.com/github/necojackarc/breadcrumbs_on_rails-json_ld/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/ff9c59d2fa0c960764ca/test_coverage)](https://codeclimate.com/github/necojackarc/breadcrumbs_on_rails-json_ld/test_coverage)BreadcrumbsOnRails::JsonLd provides a custom builder for [BreadcrumbsOnRails](https://github.com/weppos/breadcrumbs_on_rails).
## Usage
Pass `builder: BreadcrumbsOnRails::JsonLd::Builder` option to `render_breadcrumbs` and
enclose them with `script type="application/ld+json"` tag as follows:```erb
<%= render_breadcrumbs builder: BreadcrumbsOnRails::JsonLd::Builder %>
```
## Installation
Add this line to your application's Gemfile:```ruby
gem 'breadcrumbs_on_rails-json_ld'
```And then execute:
```bash
$ bundle
```Or install it yourself as:
```bash
$ gem install breadcrumbs_on_rails-json_ld
```## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).