diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts index 3e7d4f4d2..186650d9e 100644 --- a/packages/create-astro/src/index.ts +++ b/packages/create-astro/src/index.ts @@ -116,9 +116,8 @@ export async function main() { const hash = args.commit ? `#${args.commit}` : ''; - // Don't touch the template name if a GitHub repo was provided, ex: `--template cassidoo/shopify-react-astro` const isThirdParty = options.template.includes('/'); - const templateTarget = options.template.includes('/') + const templateTarget = isThirdParty ? options.template : `withastro/astro/examples/${options.template}#latest`;