My website, rebuilt yet again
1# Astro Starter Kit: Blog
2
3```sh
4bun create astro@latest -- --template blog
5```
6
7> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
8
9Features:
10
11- ✅ Minimal styling (make it your own!)
12- ✅ 100/100 Lighthouse performance
13- ✅ SEO-friendly with canonical URLs and Open Graph data
14- ✅ Sitemap support
15- ✅ RSS Feed support
16- ✅ Markdown & MDX support
17
18## 🚀 Project Structure
19
20Inside of your Astro project, you'll see the following folders and files:
21
22```text
23├── public/
24├── src/
25│ ├── assets/
26│ ├── components/
27│ ├── content/
28│ ├── layouts/
29│ └── pages/
30├── astro.config.mjs
31├── README.md
32├── package.json
33└── tsconfig.json
34```
35
36Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
37
38There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
39
40The `src/content/` directory contains "collections" of related Markdown and MDX documents. Use `getCollection()` to retrieve posts from `src/content/blog/`, and type-check your frontmatter using an optional schema. See [Astro's Content Collections docs](https://docs.astro.build/en/guides/content-collections/) to learn more.
41
42Any static assets, like images, can be placed in the `public/` directory.
43
44## 🧞 Commands
45
46All commands are run from the root of the project, from a terminal:
47
48| Command | Action |
49| :------------------------ | :----------------------------------------------- |
50| `bun install` | Installs dependencies |
51| `bun dev` | Starts local dev server at `localhost:4321` |
52| `bun build` | Build your production site to `./dist/` |
53| `bun preview` | Preview your build locally, before deploying |
54| `bun astro ...` | Run CLI commands like `astro add`, `astro check` |
55| `bun astro -- --help` | Get help using the Astro CLI |
56
57## 👀 Want to learn more?
58
59Check out [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
60
61## Credit
62
63This theme is based off of the lovely [Bear Blog](https://github.com/HermanMartinus/bearblog/).