User Tools

Site Tools


blogging_with_zen_static

Blogging with Zen Static site generator

Background

“zs is an extremely minimal static site generator written in Go.”

Requirements

  • Access to ''go'', the Go compiler (follow the 'go' link, or on SDF you can try go124 or go14)
  • Regular, working website hosted in SDF

High-level Overview of Steps

  1. Build the zs utility, something like: GOPATH=/tmp/${USER}.gopath.d GOBIN=$HOME/bin go124 install -v -tags netgo go.mills.io/zs@latest (you may need to add a ~/bin folder or use an existing ~/.bin in your user space)
  2. Create a src directory, outside of your ~/html folder, for the site Markdown
  3. Add Markdown files to your src directory
  4. Run zs build from within your src directory
  5. Copy the output in the src/.pub directory to your ~/html directory
  6. Verify and Validate
  7. Run mkhomepg -p

Resources

blogging_with_zen_static.txt · Last modified: 2025/05/30 00:16 by peteyboy