This project was built using Svelte, SvelteKit and mdsvex as the core tools.
Whenever I was uncertain what to do, I stole ideas from this blog post.
- Host on GitHub Pages
- Build with GitHub Actions
- Add analytics by
Fathom andMatomo - Introduce hyphenation
- Add post pagination
- Add tests. Playwright?
- Test more thoroughly
- Ensure that failed builds are never deployed. How?
- Upgrade to SvelteKit 1.0
- Add social tags and other meta stuff
- Add post tags and category list in /blog
- Add lang attributes to posts
- Add links to tool pages to index
- Get small caps working for link typography. iOS fails on non-ASCII chars.
First time (after cloning the repo) deps should be installed:
npm installRun the site in development mode like this (includes HMR):
npm run devBuild the production version if needed:
npm run build
# To run the built site:
npm run previewnpm run test:e2eAlso happens on pushes and PRs to the master branch.
Run the GH action at https://github.com/tontonsb/blog/actions/workflows/deploy.yml