{"id":16445776,"url":"https://github.com/mslinn/jekyll_badge","last_synced_at":"2026-02-14T13:02:51.002Z","repository":{"id":206836614,"uuid":"717788146","full_name":"mslinn/jekyll_badge","owner":"mslinn","description":"Displays a badge on a Jekyll page for the package showing its version","archived":false,"fork":false,"pushed_at":"2024-12-21T16:26:48.000Z","size":516,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T03:07:25.574Z","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/mslinn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2023-11-12T15:48:15.000Z","updated_at":"2024-12-21T16:26:52.000Z","dependencies_parsed_at":"2024-07-24T05:05:58.832Z","dependency_job_id":null,"html_url":"https://github.com/mslinn/jekyll_badge","commit_stats":null,"previous_names":["mslinn/jekyll_badge"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_badge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_badge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_badge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_badge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mslinn","download_url":"https://codeload.github.com/mslinn/jekyll_badge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238445861,"owners_count":19473824,"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-11T09:45:23.822Z","updated_at":"2026-02-14T13:02:50.943Z","avatar_url":"https://github.com/mslinn.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `Badge` [![Gem Version](https://jekyll_badge.fury.io/rb/jekyll_badge.svg)](https://jekyll_badge.fury.io/rb/jekyll_badge)\n\nDisplays a badge on a Jekyll page for the package showing its version.\n\n\n## Installation\n\nAdd the following to your Jekyll website's `Gemfile`:\n\n```ruby\ngroup :jekyll_plugins do\n  gem 'jekyll_badge'\nend\n```\n\nAnd then execute:\n\n```shell\n$ bundle\n```\n\n### Image\n\nCopy the contents of `demo/blog/images/git/` to a similarly named directory on your website.\n\n\n## Usage\n\nSee [demo/index.html](demo/index.html) for examples.\n\n\n### Options\n\n#### Keyword Options\n\n- `clear`    \u0026ndash; Ensures the badge is rendered below preceding floating elements.\n- `debug`    \u0026ndash; Display debugging information on the rendered page\n\n#### Primary Options\n\nOverride these name/value options as required.\n\n- `align`    \u0026ndash; Align badge `left`, `center` or `right`, defaults to `right`.\n- `alt`      \u0026ndash; Alt text for badge image, also used as title for badge.\n  Defaults to `name`.\n- `class`    \u0026ndash; Override classes for generated badge,\n  defaults to `rounded shadow`.\n- `dist_url` \u0026ndash; Badge banner link target (download page),\n  defaults to `https://rubygems.org/gems/name`.\n- `image`    \u0026ndash; Git repository image, without the filetype,\n  defaults to `/blog/images/git/github-mark`.\n- `name`     \u0026ndash; name of component, defaults to the name of the enclosing page.\n- `label`    \u0026ndash; displayed name of the badge, defaults to `name`.\n- `style`    \u0026ndash; Additional CSS style for the badge container.\n- `title`    \u0026ndash; Displayed text when the user hovers their mouse over the\n  badge. Defaults to the `alt` value.\n- `type`     \u0026ndash; Type of badge to display.\n  Choices are `ruby_gem` (default) and `golang`.\n- `user_id`  \u0026ndash; GitHub user id\n  (only required for type `golang`, defaults to `mslinn`.)\n\n#### Derived Options\n\nDerived options can be overridden, just like primary options.\n\n- `badge_svg`    \u0026ndash; URL for badge image,\n  defaults to `https://badge.fury.io/rb/name.svg`.\n- `git_url_base` \u0026ndash; GitHub User URL,\n  defaults to `https://github.com/mslinn`.\n- `git_url`      \u0026ndash; Repository URL, defaults to `git_url_base/name`.\n\n\n## Development\n\nAfter checking out this git repository, install dependencies by typing:\n\n```shell\n$ bin/setup\n```\n\nYou should do the above before running Visual Studio Code.\n\n\n### Run the Tests\n\n```shell\n$ bundle exec rake test\n```\n\n\n### Interactive Session\n\nThe following will allow you to experiment:\n\n```shell\n$ bin/console\n```\n\n\n### Local Installation\n\nTo install this gem onto your local machine, type:\n\n```shell\n$ bundle exec rake install\n```\n\n\n### To Release A New Version\n\nTo create a git tag for the new version, push git commits and tags,\nand push the new version of the gem to https://rubygems.org, type:\n\n```shell\n$ bundle exec rake release\n```\n\n\n## Contributing\n\nBug reports and pull requests are welcome at https://github.com/mslinn/jekyll_badge.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_badge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmslinn%2Fjekyll_badge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_badge/lists"}