====== Blogging with Zen Static site generator ====== ===== Background ===== “zs is an extremely minimal static site generator written in Go.” ===== Requirements ===== * Access to [[golang|''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 ===== - 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) - Create a ''src'' directory, outside of your ''~/html'' folder, for the site Markdown - Add Markdown files to your ''src'' directory - Run ''zs build'' from within your ''src'' directory - Copy the output in the ''src/.pub'' directory to your ''~/html'' directory - Verify and Validate - Run ''mkhomepg -p'' ===== Resources ===== * [[https://git.mills.io/prologic/zs|zs git repository]] * [[https://zs.mills.io/|zs demo with quickstart template]] * [[https://zs.mills.io/TestPage.html|zs components]]