User Tools

Site Tools


blogging_with_zen_static

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blogging_with_zen_static [2024/09/01 04:17] – [Background] o.” hc9blogging_with_zen_static [2025/05/30 00:16] (current) – [High-level Overview of Steps] fix aerth's comment in chat to his correction peteyboy
Line 1: Line 1:
 +====== 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]]