{"id":13612096,"url":"https://github.com/toshimaru/jekyll-tagging-related_posts","last_synced_at":"2025-10-10T13:43:41.345Z","repository":{"id":37561878,"uuid":"50278152","full_name":"toshimaru/jekyll-tagging-related_posts","owner":"toshimaru","description":"Jekyll `related_posts` function based on tags. ","archived":false,"fork":false,"pushed_at":"2024-09-01T09:55:07.000Z","size":59,"stargazers_count":56,"open_issues_count":5,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-05T08:54:09.328Z","etag":null,"topics":["gem","jekyll","ruby"],"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/toshimaru.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-01-24T07:56:34.000Z","updated_at":"2025-04-25T07:40:56.000Z","dependencies_parsed_at":"2024-01-14T04:48:52.837Z","dependency_job_id":"1e0bfbb1-5c79-44e1-a4ef-0ae637e96a6d","html_url":"https://github.com/toshimaru/jekyll-tagging-related_posts","commit_stats":{"total_commits":69,"total_committers":3,"mean_commits":23.0,"dds":0.1159420289855072,"last_synced_commit":"6d888978c529e96c52ceb2a878248e9b692680ac"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/toshimaru/jekyll-tagging-related_posts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fjekyll-tagging-related_posts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fjekyll-tagging-related_posts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fjekyll-tagging-related_posts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fjekyll-tagging-related_posts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toshimaru","download_url":"https://codeload.github.com/toshimaru/jekyll-tagging-related_posts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fjekyll-tagging-related_posts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001434,"owners_count":26083102,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gem","jekyll","ruby"],"created_at":"2024-08-01T20:00:22.391Z","updated_at":"2025-10-10T13:43:41.314Z","avatar_url":"https://github.com/toshimaru.png","language":"Ruby","funding_links":[],"categories":["Tags \u0026 Taggings, Categories \u0026 Categorizations"],"sub_categories":[],"readme":"# jekyll-tagging-related_posts\n\n[![Test](https://github.com/toshimaru/jekyll-tagging-related_posts/actions/workflows/test.yml/badge.svg)](https://github.com/toshimaru/jekyll-tagging-related_posts/actions/workflows/test.yml)\n[![Gem Version](https://badge.fury.io/rb/jekyll-tagging-related_posts.svg)](https://badge.fury.io/rb/jekyll-tagging-related_posts)\n[![Test Coverage](https://codeclimate.com/github/toshimaru/jekyll-tagging-related_posts/badges/coverage.svg)](https://codeclimate.com/github/toshimaru/jekyll-tagging-related_posts/coverage)\n[![Code Climate](https://codeclimate.com/github/toshimaru/jekyll-tagging-related_posts/badges/gpa.svg)](https://codeclimate.com/github/toshimaru/jekyll-tagging-related_posts)\n\nJekyll `related_posts` function based on tags (works on Jekyll3). It replaces original Jekyll's `related_posts` function to use tags to calculate relationships.\n\nThe calculation algorithm is based on [related\\_posts-jekyll\\_plugin](https://github.com/LawrenceWoodman/related_posts-jekyll_plugin) by [@LawrenceWoodman](https://github.com/LawrenceWoodman).\n\n## Installation\n\nAdd this line to your application's `Gemfile`:\n\n```ruby\ngem 'jekyll-tagging-related_posts'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install jekyll-tagging-related_posts\n\n## Usage\n\nEdit `_config.yml` to use the plug-in:\n\n```yml\ngems:\n  - jekyll-tagging-related_posts\n```\n\nThen, add `site.related_posts` in your post layout page. For example:\n\n```liquid\n{% if site.related_posts.size \u003e= 1 %}\n\u003cdiv\u003e\n  \u003ch3\u003eRelated Posts\u003c/h3\u003e\n  \u003cul\u003e\n  {% for related_post in site.related_posts limit: 5 %}\n    \u003cli\u003e\u003ca href=\"{{ related_post.url }}\"\u003e{{ related_post.title }}\u003c/a\u003e\u003c/li\u003e\n  {% endfor %}\n  \u003c/ul\u003e\n\u003c/div\u003e\n{% endif %}\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/toshimaru/jekyll-tagging-related_posts/issues. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshimaru%2Fjekyll-tagging-related_posts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoshimaru%2Fjekyll-tagging-related_posts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshimaru%2Fjekyll-tagging-related_posts/lists"}