all repos — www @ 2e005465864acf78e66eed5aaba8eacbbd25e461

deserthorns.net content + generator

build/readme.md (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
## Requirements

Go 1.23.4

## Usage

`./build <ROOT>`

`<ROOT>` should be a path to the site's source directory.  The source directory must contain the following subdirectories:
- `css`: for CSS stylesheets
- `assets`: for other assets (e.g. images, files...)
- `site`: for site pages.  The structure of this subdirectory determines the structure of the site itself.
- `templates`: for reused markup.

If `<ROOT>` is omitted, the current directory will be used as the source directory.