{"id":16445841,"url":"https://github.com/mslinn/redirect_generator","last_synced_at":"2026-04-29T00:05:14.808Z","repository":{"id":142057003,"uuid":"465036221","full_name":"mslinn/redirect_generator","owner":"mslinn","description":"Injects the URL of a redirect page into Jekyll front matter","archived":false,"fork":false,"pushed_at":"2022-03-18T23:56:11.000Z","size":250,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T01:12:10.463Z","etag":null,"topics":["visual-studio-code","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/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":"2022-03-01T19:53:20.000Z","updated_at":"2022-03-15T04:42:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d4d77f0-fb98-4e61-be0d-89797464c1be","html_url":"https://github.com/mslinn/redirect_generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fredirect_generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fredirect_generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fredirect_generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fredirect_generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mslinn","download_url":"https://codeload.github.com/mslinn/redirect_generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240831381,"owners_count":19864718,"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":["visual-studio-code","vscode-extension"],"created_at":"2024-10-11T09:45:34.859Z","updated_at":"2026-04-29T00:05:14.781Z","avatar_url":"https://github.com/mslinn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redirect-generator\n\nVisual Studio Code Extension that makes it easier to move HTML pages in Jekyll websites, without breaking external links.\n\n\n## Features\n\nCreates HTML page stubs that contain [HTTP Meta Refresh redirects](https://www.w3.org/TR/WCAG20-TECHS/H76.html)\nfor the HTML file in the currently active editor.\nThe [`redirect_from`](https://github.com/jekyll/jekyll-redirect-from) documentation describes how the redirects work.\n\nEach time this plugin is invoked from a Visual Studio Code edit pane,\nit writes a new path under the `redirect_from:` key, which it creates if necessary.\nThe newest paths are created at the bottom.\n\nThis plugin injects the URL of a redirect page into\n[Jekyll](http://jekyllrb.com/) [front matter](https://jekyllrb.com/docs/front-matter/).\nHere is an example of front matter, showing the paths of two redirects:\n\n**`/about/index.html`**\n```\n---\nlayout: default\ntitle: Restless Page\nredirect_from:\n  - /old/path1/index.html\n  - /old/path2/blah.html\n---\n```\n\nGiven the above front matter in a page at `/about/index.html`, 2 stub HTML pages would be created,\ncontaining identical contents,\nin addition to the [normally generated page](https://jekyllrb.com/docs/structure/) at `_site/about/index.html`:\n\n**`/_site/old/path1/index.html`**\n```html\n\u003chead\u003e\n  \u003ctitle\u003eRestless Page\u003c/title\u003e\n  \u003cmeta http-equiv=\"refresh\" content=\"0;URL='/about/index.html'\" /\u003e\n\u003c/head\u003e\n```\n\n**`/_site/old/path2/blah.html`**\n```html\n\u003chead\u003e\n  \u003ctitle\u003eRestless Page\u003c/title\u003e\n  \u003cmeta http-equiv=\"refresh\" content=\"0;URL='/about/index.html'\" /\u003e\n\u003c/head\u003e\n```\n\n\n## Requirements\nThis plugin is written in TypeScript, which is compatible with Node.js.\nInstall TypeScript dependencies like this:\n```shell\nnpm install\n```\n\nThis plugin requires the following Jekyll plugins.\nRead their documentation to install them.\n\n  - [Sitemap Generator](https://github.com/jekyll/jekyll-sitemap)\n  - [`redirect_from`](https://github.com/jekyll/jekyll-redirect-from)\n\n\n## Known Issues\n\nNone.\n\n## Release Notes\n\n### 0.1.0\n\nInitial release.\n\n\n**Enjoy!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fredirect_generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmslinn%2Fredirect_generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fredirect_generator/lists"}