{"id":15022954,"url":"https://github.com/compwright/switch-to-11ty","last_synced_at":"2025-10-25T00:31:51.302Z","repository":{"id":65510387,"uuid":"312154245","full_name":"compwright/switch-to-11ty","owner":"compwright","description":"Automatically migrate from Jekyll to 11ty","archived":false,"fork":false,"pushed_at":"2020-12-16T16:05:05.000Z","size":171,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-31T04:51:20.547Z","etag":null,"topics":["11ty","jekyll"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/switch-to-11ty","language":"JavaScript","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/compwright.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"compwright"}},"created_at":"2020-11-12T03:11:49.000Z","updated_at":"2024-12-17T18:09:20.000Z","dependencies_parsed_at":"2023-01-26T17:55:14.577Z","dependency_job_id":null,"html_url":"https://github.com/compwright/switch-to-11ty","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compwright%2Fswitch-to-11ty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compwright%2Fswitch-to-11ty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compwright%2Fswitch-to-11ty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compwright%2Fswitch-to-11ty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/compwright","download_url":"https://codeload.github.com/compwright/switch-to-11ty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238053514,"owners_count":19408699,"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":["11ty","jekyll"],"created_at":"2024-09-24T19:58:34.512Z","updated_at":"2025-10-25T00:31:50.948Z","avatar_url":"https://github.com/compwright.png","language":"JavaScript","funding_links":["https://github.com/sponsors/compwright"],"categories":[],"sub_categories":[],"readme":"# switch-to-11ty\n\nAutomatically migrate from [Jekyll](https://jekyllrb.com) to [11ty](https://www.11ty.dev)\n\n\u003e Eleventy was created to be a JavaScript alternative to Jekyll.\n\n## Overview\n\nInspired by Paul Lloyd's excellent tutorial, \"[Turn Jekyll up to Eleventy](https://24ways.org/2018/turn-jekyll-up-to-eleventy).\"\n\n### Limitations\n\nTo keep things simple, we're assuming you are:\n\n* Using the default Markdown config\n* Using the default Liquid templates\n* Using SASS\n* Not using a Jekyll theme (or will migrate it by hand yourself)\n* Not using Jekyll plugins (or will migrate them by hand yourself)\n* All your static site assets are in `assets`\n\n### What it does\n\n1. Installs 11ty (of course)\n2. Migrates site configs to `_data/site.json`\n3. Creates a starter config file `.eleventy.js`\n4. Configures ignore files `.eleventyignore`, and `.gitignore`\n5. Rewrite all include tags from Jekyll-style to Shopify-style\n6. Moves `_layouts/*` to `_includes/layouts`, and adds aliases in `.eleventy.js`\n7. Deletes the Jekyll config files, cache directories, and components\n\n## Installation\n\n```\n$ npm install -g switch-to-11ty\n```\n\n## Usage\n\n```\nswitch-to-11ty \u003cdir\u003e\n\nConvert a Jekyll project to 11ty\n\nPositionals:\n  dir                                                                   [string]\n\nOptions:\n  --version  Show version number                                       [boolean]\n  --help     Show help                                                 [boolean]\n```\n\n## Roadmap\n\n- [x] Rewrite all include tags from Jekyll-style to Shopify-style\n- [ ] Sanity check: fail if not in git source control, unless a force argument is passed\n- [ ] Respect the Jekyll `data_dir`, `layout_dir`, and `includes_dir` settings\n- [ ] Set up a compatible SASS build pipeline\n- [ ] Re-implement the Jekyll Liquid filters in Javascript\n- [ ] Auto-detect asset directories other than `assets`\n\n## License\n\nMIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompwright%2Fswitch-to-11ty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompwright%2Fswitch-to-11ty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompwright%2Fswitch-to-11ty/lists"}