# Astro Starter Kit: Blog ``` npm create astro@latest -- --template blog ``` [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/blog) [![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/blog) [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/blog/devcontainer.json) > 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun! ![blog](https://user-images.githubusercontent.com/4677417/186189140-4ef17aac-c3c9-4918-a8c2-ce86ba1bb394.png) Features: - ✅ Minimal styling (make it your own!) - ✅ 100/100 Lighthouse performance - ✅ SEO-friendly with canonical URLs and OpenGraph data - ✅ Sitemap support - ✅ RSS Feed support - ✅ Markdown & MDX support ## 🚀 Project Structure Inside of your Astro project, you'll see the following folders and files: ``` ├── public/ ├── src/ │   ├── components/ │   ├── content/ │   ├── layouts/ │   └── pages/ ├── astro.config.mjs ├── README.md ├── package.json └── tsconfig.json ``` Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. The `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. Any static assets, like images, can be placed in the `public/` directory. ## 🧞 Commands All commands are run from the root of the project, from a terminal: | Command | Action | | :--------------------- | :----------------------------------------------- | | `npm install` | Installs dependencies | | `npm run dev` | Starts local dev server at `localhost:3000` | | `npm run build` | Build your production site to `./dist/` | | `npm run preview` | Preview your build locally, before deploying | | `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | | `npm run astro --help` | Get help using the Astro CLI | ## 👀 Want to learn more? Check out [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). ## Credit This theme is based off of the lovely [Bear Blog](https://github.com/HermanMartinus/bearblog/). =1'>Expand)AuthorFilesLines 2022-04-23chore(release): 2.2.1Gravatar Corentin Thomasset 3-3/+13 2022-04-23fix(sider): default collapsed valueGravatar Corentin Thomasset 1-12/+4 2022-04-23refactor: removed useless ref and valueGravatar Corentin Thomasset 1-4/+2 2022-04-22refactor(lint): linter auto fixGravatar Corentin Thomasset 54-1502/+1121 2022-04-22feat(new-tool): html entities escape/unescapeGravatar Corentin Thomasset 3-1/+93 2022-04-21fix(style): hard width for group labelsGravatar Corentin Thomasset 1-2/+2 2022-04-19fix(sider): missing href for link in footerGravatar Corentin Thomasset 1-0/+1 2022-04-19fix(head): added titles for non-tool pagesGravatar Corentin Thomasset 3-0/+8 2022-04-19fix(url-parser): cleaned weird margins on dark modeGravatar Corentin Thomasset 1-17/+1 2022-04-19chore(release): 2.2.0v2.2.0Gravatar Corentin Thomasset 3-3/+15 2022-04-19feat(new-tool): url parserGravatar Corentin Thomasset 3-1/+131 2022-04-18fix(sider-footer): fixed commit sha urlGravatar Corentin Thomasset 1-1/+1 2022-04-18chore(release): 2.1.0v2.1.0Gravatar Corentin Thomasset 3-3/+16 2022-04-18feat(new-tool): device informationGravatar Corentin Thomasset 3-1/+127 2022-04-18refactor(menu): removed burger menu icon tooltipGravatar Corentin Thomasset 1-19/+12 2022-04-18feat(new-tool): bcryptGravatar Corentin Thomasset 5-1/+157 2022-04-18chore(release): 2.0.2v2.0.2Gravatar Corentin Thomasset 3-3/+19 2022-04-18refactor(crontab): list instead of table on small screenGravatar Corentin Thomasset 1-92/+106 2022-04-18fix(git-memo): pre scroll on overflowGravatar Corentin Thomasset 2-1/+7 2022-04-18fix(qr-code): responsive layoutGravatar Corentin Thomasset 1-1/+2 2022-04-18fix(menu): menu auto closed on mobileGravatar Corentin Thomasset 2-20/+34 2022-04-16refactor: throw an error object instead of stringGravatar Corentin Thomasset 1-1/+1 2022-04-16refactor: removed empty sourcesGravatar Corentin Thomasset 11-33/+0 2022-04-16chore(release): 2.0.1v2.0.1Gravatar Corentin Thomasset 3-3/+28 2022-04-16refactor: lint fixGravatar Corentin Thomasset 1-21/+91 2022-04-16refactor: ref nameGravatar Corentin Thomasset 1-4/+4 2022-04-16refactor: clean importsGravatar Corentin Thomasset 4-14/+5 2022-04-16fix: remove duplicate propertyGravatar Corentin Thomasset 1-93/+22