Technical writing about Python & Django.
The site is built using Hugo. The theme is PaperMod which is installed unmodified as a Git Submodule.
Content is written in Markdown. Hugo uses Goldmark, a CommonMark compliant parser, to render Markdown to HTML.
To create new content use.
hugo new content content/til/$(date '+%Y-%m-%d')/title.mdTo run the local webserver use.
hugo server --buildDrafts --buildFutureTo install Vale, first install the Homebrew package manager. Then you can install Vale using.
brew install valeYou then need to download and install Vale’s external configuration sources using.
vale syncTo install Prettier, first install Node.js using a version manager such as fnm. Then enable the Corepack (Yarn) package manager.
corepack enableThen you can install Prettier using.
yarn installTo run the linting tools use.
yarn lintYou can also run the linting tools to automatically apply all available fixes using.
yarn fixThe site is deployed using Cloudflare Pages.