This repository contains code for my website, hosted at martinbjeldbak.com.
It's built with Astro
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 |
- Add bold to current page in header
- Add https://docs.astro.build/en/guides/integrations-guide/sitemap/
- Add https://github.com/alextim/astro-lib/tree/main/packages/astro-robots-txt#readme
- Add post first xxx words to index, add "continue reading" if longer. This will make my index look more filled out
- Add https://docs.astro.build/en/core-concepts/astro-pages/#custom-404-error-page page
- Add ToC with https://github.com/theisel/astro-toc
- Add related posts at bottom (once I write more)
- Dynamic light/dark mode support for codeblocks link