{"id":16909384,"url":"https://github.com/drager/metalsmith-aliases","last_synced_at":"2026-05-10T16:34:38.688Z","repository":{"id":57295486,"uuid":"53891596","full_name":"drager/metalsmith-aliases","owner":"drager","description":" Create aliases for your posts and redirect from them if preferable.","archived":false,"fork":false,"pushed_at":"2017-03-30T14:19:45.000Z","size":2,"stargazers_count":0,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T20:54:12.392Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drager.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-14T21:01:33.000Z","updated_at":"2016-03-15T10:06:03.000Z","dependencies_parsed_at":"2022-08-31T03:01:52.156Z","dependency_job_id":null,"html_url":"https://github.com/drager/metalsmith-aliases","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drager/metalsmith-aliases","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drager%2Fmetalsmith-aliases","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drager%2Fmetalsmith-aliases/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drager%2Fmetalsmith-aliases/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drager%2Fmetalsmith-aliases/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drager","download_url":"https://codeload.github.com/drager/metalsmith-aliases/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drager%2Fmetalsmith-aliases/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267327534,"owners_count":24069442,"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-07-27T02:00:11.917Z","response_time":82,"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-13T18:55:34.194Z","updated_at":"2026-05-10T16:34:38.613Z","avatar_url":"https://github.com/drager.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"metalsmith-aliases\n===============\n\nCreate aliases for your posts and redirect from them if preferable.\n\n## Installation\n\n```sh\nnpm install --save metalsmith-aliases\n```\n\n## Usage\n\nThis plugin depends on having an property called `permalink`, so in order for it to work we need to\neither add that ourselves or use the [permalinks plugin](https://github.com/segmentio/metalsmith-permalinks).\nThis needs to happen before the alias plugin.\n\n### Javascript API\n\n```javascript\nvar Metalsmith = require('metalsmith');\nvar aliases = require('metalsmith-aliases');\nvar permalinks = require('metalsmith-permalinks');\n\nMetalsmith()\n  .use(permalinks())\n  .use(aliases());\n```\n\n### Posts\nAdd your aliases in the form of an array in your posts:\n\n```markdown\n---\ntitle: Reactive extensions in Javascript\naliases: [2016/01/14/reactive-extensions-in-javascript]\n---\n```\n\n```markdown\n---\ntitle: Metalsmith aliases\naliases: [2016/03/15/metalsmith-aliases, metalsmith-using-aliases]\n---\n```\n\n## Options\n\n### Redirect\nIf the alias should redirect to the given post. Defaults to `false`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrager%2Fmetalsmith-aliases","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrager%2Fmetalsmith-aliases","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrager%2Fmetalsmith-aliases/lists"}