67ddd30430349df3e0db1aa89f212745facec24c
Three things were off in the front-page and blog listings. The floated thumbnail was never cleared, so the next item's heading wrapped around it instead of starting below -- front-page.php emits <br /><div class="clear"> </div> after each post, which is now reproduced. The post wrapper was missing the classes WordPress adds via post_class(); .post/.hentry carry the margin-bottom: 20px that separates items. And the listings sat in the theme's #content, which is float: left and 650px because it expects a 230px sidebar alongside. There is no sidebar here -- the search and widget boxes were WordPress-specific chrome and were dropped -- so that just left dead space to the right. BaseLayout already wraps the slot in the full-width #content-full, so the inner wrapper is removed and the sections span the full 930px. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Astro Starter Kit: Minimal
npm create astro@latest -- --template minimal
🧑🚀 Seasoned astronaut? Delete this file. Have fun!
🚀 Project Structure
Inside of your Astro project, you'll see the following folders and files:
/
├── public/
├── src/
│ └── pages/
│ └── index.astro
└── package.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.
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?
Feel free to check our documentation or jump into our Discord server.
Languages
CSS
53.8%
JavaScript
25.1%
Astro
19.7%
TypeScript
1.4%