Source repository for my personal site / blog, written using https://www.11ty.dev/.
Here's some notes on how this whole thing is wired up, for my own sanity when I go to make changes and it's been 6 months.
npm run build
:: Makes the "production" buildnpm run serve
:: Starts a hot-reloading local dev servernpm run spell:posts
:: Spell-checks the posts directorynpm run spell:all
:: Spell-checks the whole repo
Publishing is done with the build-publish
GitHub action, and happens on merge to trunk
.
eleventy is configured to copy the src/css
, src/img
directories, as well as the
CNAME
file into the built site. This means they can be directly referenced through
absolute paths like /css/index.css
.
All of the CSS for the whole site is implemented in one big file. The only thing that's split out is the Prism theme used for syntax highlighting.
Make sure you're using at least Node 18.
npm install
npm run serve
- Write a new blog post in markdown
- Spell check, proofread, and edit
- Through some means, push to trunk a. Direct push? b. Push a branch and merge in GitHub?