About this site
A few bits of information that may be of interest.
-
This site is built with zola
-
Cloudflare Pages is used to host & deploy the site: when I push changes to github, those changes are deployed live, usually within a couple minutes (it is very convenient).
I recommend it for anyone with a static site because (1) it’s free, and (2) it has very nice integration with github. push-to-deploy is so nice, and it accepts custom build commands.
The support for custom build commands is quite nice, because…
-
After the site is build with
zola, a script is used to append a hash to all urls which point to resources hosted underalecto.dev. This allows me to (1) enable caching, and (2) ensure that all visitors receive the most up-to-date version of stylesheets, images, and other assets, without the need for custom image shortcodes.
… This last bit is a small technical detail that I’m proud of. Being able to
use the standard markdown image syntax instead of
{{ image(path="images/my-photo.jpg", alt="Description of photo") }}
or get_url(path=path, cachebust=true) is quite nice.