zola

A static site generator in a single binary with everything built-in.

TLDR

Create the directory structure used by Zola at the given directory

$ zola init [my_site]
copy

Build the whole site in the public directory after deleting it

$ zola build
copy

Build the whole site into a different directory

$ zola build --output-dir [path/to/output_directory/]
copy

Build and serve the site using a local server (default is 127.0.0.1:1111)

$ zola serve
copy

Build all pages just like the build command would, but without writing any of the results to disk

$ zola check
copy

Help

zola 0.15.2 
Vincent Prouillet  
A fast static site generator with everything built-in 

USAGE:
    zola [OPTIONS]  

FLAGS:
    -h, --help       Prints help information 
    -V, --version    Prints version information 

OPTIONS:
    -c, --config     Path to a config file other than config.toml in the root of project 
    -r, --root         Directory to use as root of project [default: .] 

SUBCOMMANDS:
    build    Deletes the output directory if there is one and builds the site 
    check    Try building the project without rendering it. Checks links 
    help     Prints this message or the help of the given subcommand(s) 
    init     Create a new Zola project 
    serve    Serve the site. Rebuild and reload on change automatically 

Copied to clipboard
Raspberry