289a5b31188179ca0a14de81e2a077e84e5553dd
The front-page/blog listings rendered featured images as 150x150 centre-cropped squares stacked above the text. The theme actually renders them at 210x150 cropped from the left-top corner (set_post_thumbnail_size), floated left with a border so the excerpt wraps beside them -- the CSS for that (#container .attachment-thumbnail) was already ported, the class just was never applied. The left-top anchor matters: every featured image is a 930x354 slide banner whose subject sits in the left portion, so a centre crop cut the subject out entirely. Also restores the "Read the Rest..." link (the theme's excerpt_more filter) and corrects excerpt length -- the theme uses 60 words on the front page and 30 in the slideshow; the export was baking WordPress's default 55 for both. 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%