Skip to content

Astro as a simple website

Easiest method would be to clone my repo and fork it or you can follow these steps

The repo name should be <YOUR_GITHUB_NAME>.github.io for example in my case the repo name will be evotianusx.github.io

After that open it in your favorite IDE / Text Editor

Terminal window
npm create astro@latest -- --template starlight

This will create a few files for you, navigate to the /src/content/docs/index.md

Run the npm run dev inside the project directory, it will spin up a webserver usually at http://localhost:4321/

Start by editing the index.mdx file inside the /src/content/docs/index.md