1
0
Fork 0
No description
  • Astro 72.7%
  • CSS 15.3%
  • TypeScript 7.3%
  • Dockerfile 2.2%
  • JavaScript 1.5%
  • Other 1%
Find a file
Florian Pallas cadb87e12e
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
add justfile
2026-03-18 23:55:40 +01:00
.vscode chore: initial commit 2024-09-02 20:45:11 +02:00
.woodpecker add ci 2026-03-05 18:42:32 +01:00
public upgrade dependencies 2026-03-18 23:49:47 +01:00
src formatting 2026-03-18 23:53:51 +01:00
.containerignore cleanup 2026-01-08 20:18:36 +01:00
.gitignore chore: initial commit 2024-09-02 20:45:11 +02:00
astro.config.mjs configure container 2026-01-08 20:02:21 +01:00
Containerfile add container files 2026-03-05 18:44:56 +01:00
justfile add justfile 2026-03-18 23:55:40 +01:00
nginx.conf add container files 2026-03-05 18:44:56 +01:00
package.json upgrade dependencies 2026-03-18 23:49:47 +01:00
pnpm-lock.yaml formatting 2026-03-18 23:53:51 +01:00
pnpm-workspace.yaml configure container 2026-01-08 20:02:21 +01:00
README.md chore: initial commit 2024-09-02 20:45:11 +02:00
tsconfig.json formatting 2026-03-18 23:53:51 +01:00

Astro Starter Kit: Blog

npm create astro@latest -- --template blog

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

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

blog

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.