generated from DeclanChidlow/TemplateRepo
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Individual
Declan Chidlow edited this page Jul 1, 2024
·
2 revisions
When using standard, each page needs its own directory with a TOML file. An example of a conf.toml for a page is the index page for the Adduce site
-c
represents the config directory.
-n
represents the output file name.
-o
represents the output directory
adduce -c config/index -n index.html -o output
Adduce is intended to be used in a BASH script. Here is an example of generating multiple pages.
#!/bin/bash
adduce -c config/index -n index.html -o output
adduce -c config/about -n about.html -o output
adduce -c config/contact -n contact.html -o output
adduce -c config/404 -n 404.html -o output
Adduce | Website | Source Code | Crate