No description
  • Astro 95.5%
  • TypeScript 1.9%
  • CSS 0.7%
  • Dockerfile 0.7%
  • JavaScript 0.7%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
SakulFlee 4f746075a9
All checks were successful
build-and-deploy / build-and-push (push) Successful in 43s
build-and-deploy / create-release (push) Has been skipped
Merge pull request 'Update astro monorepo' (#26) from renovate/astro-monorepo into main
Reviewed-on: #26
2026-09-30 03:10:11 +00:00
.forgejo/workflows Update actions/checkout action to v7 2026-08-28 20:09:59 +00:00
icons Moved astro project to root 2026-05-05 16:10:04 +02:00
public Moved astro project to root 2026-05-05 16:10:04 +02:00
src Fixed language menu not being on a new line on mobile/tablets 2026-06-07 02:04:42 +02:00
.gitignore Moved astro project to root 2026-05-05 16:10:04 +02:00
astro.config.mjs Moved astro project to root 2026-05-05 16:10:04 +02:00
Dockerfile fix: use fully qualified image names for buildah 2026-08-28 20:43:07 +02:00
LICENSE Added License 2023-01-06 19:36:01 +01:00
package-lock.json Update astro monorepo 2026-09-30 03:05:57 +00:00
package.json Merge pull request 'Update dependency prettier-plugin-astro to v1' (#28) from renovate/prettier-plugin-astro-1.x into main 2026-09-30 03:05:35 +00:00
README.md Moved astro project to root 2026-05-05 16:10:04 +02:00
renovate.json Migrate config renovate.json 2026-08-28 19:04:00 +00:00
shell.nix Added shell.nix 2026-06-18 18:14:01 +02:00
tsconfig.json Moved astro project to root 2026-05-05 16:10:04 +02:00

Astro Starter Kit: Blog

npm create astro@latest -- --template blog

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

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 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:4321
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 or jump into our Discord server.

Credit

This theme is based off of the lovely Bear Blog.