{"id":16649312,"url":"https://github.com/rcmdnk/octopress-extlink","last_synced_at":"2025-10-07T05:11:46.893Z","repository":{"id":12363348,"uuid":"15012564","full_name":"rcmdnk/octopress-extlink","owner":"rcmdnk","description":"octopress-extlink provides \"link\" tag, used to add target=\"_blank\" for external links.","archived":false,"fork":false,"pushed_at":"2013-12-08T21:47:25.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T12:16:51.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://octopress.dev/blog/2013/12/07/blog-octopress/","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/rcmdnk.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}},"created_at":"2013-12-07T20:41:51.000Z","updated_at":"2013-12-08T21:47:25.000Z","dependencies_parsed_at":"2022-09-10T17:50:14.924Z","dependency_job_id":null,"html_url":"https://github.com/rcmdnk/octopress-extlink","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rcmdnk/octopress-extlink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcmdnk%2Foctopress-extlink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcmdnk%2Foctopress-extlink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcmdnk%2Foctopress-extlink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcmdnk%2Foctopress-extlink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rcmdnk","download_url":"https://codeload.github.com/rcmdnk/octopress-extlink/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcmdnk%2Foctopress-extlink/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278722757,"owners_count":26034463,"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-07T02:00:06.786Z","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":[],"created_at":"2024-10-12T09:08:27.573Z","updated_at":"2025-10-07T05:11:46.872Z","avatar_url":"https://github.com/rcmdnk.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"octopress-extlink\n=================\n\noctopress-extlink provides \"link\" tag for Octopress (Jekyll), used to add `target=\"_blank\"` for external links.\n\n# Installation\n\n1. Copy `plugins/extlink.rb` to your `plugins` directory,\n\n# Usage\nUse tag `link` like\n\n    {%link URL LINK %}\n\nIf `URL` starts with `http` like\n\n    {%link http://example.com This is an external link. %}\n\nthe output becomes\n\n    \u003ca href=\"http://example.com\" target=\"_blank\"\u003eThis is an external link\u003c/a\u003e\n\nThen, this link will be opend in new window.\n\nIf `URL` starts with `/` (i.e. your own site) like:\n\n    {%link /mysite This is my site. %}\n\nthe output becomes\n\n    \u003ca href=\"/mysite\"\u003eThis is my site.\u003c/a\u003e\n\nso that it doesn't make new window.\n\nYou can add any attributes to `a` element by giving attributes before the URL (words starting with `http` or `/`), like\n\n    {%link class=\"myclass\" http://example.com link %}\n\nThe outputs becomes\n\n    \u003ca href=\"http://example.com\" class=\"myclass\" target=\"_blank\"\u003elink\u003c/a\u003e\n\nMultiple attributes can be given.\n\nIf you give \"target\" attribute, it is used instead of above definition.\n\n    {%link class=\"myclass\" target=\"_self\" http://example.com This is opend in the same window. %}\n\nThis tag will be:\n\n    \u003ca href=\"http://example.com\" class=\"myclass\" target=\"_self\"\u003eThis is opend in the same window.\u003c/a\u003e\n\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rcmdnk/octopress-extlink/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcmdnk%2Foctopress-extlink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frcmdnk%2Foctopress-extlink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcmdnk%2Foctopress-extlink/lists"}