Sedum is a static site generator written in Rust. It can be used locally or with a service like Netlify to generate websites on the fly.
You must have rust and cargo installed and available on the path.
git clone https://github.com/ellygaytor/Sedum.git
---
) (optional):
- title
- description
- language
- author
- list
('True' or 'False')cargo run [source] [result]
, setting the source directory and the directory you want the generated files to be placed in.netlify.toml
to your git repositorywget -N https://github.com/ellygaytor/Sedum/releases/latest/download/sedum && chmod +x sedum && ./sedum [source] [result]
, setting the source directory and the directory you want the generated files to be placed in.[result]
that you chose in step one.---
) (optional):
- title
- description
- language
- author
- list
('True' or 'False')[source]
that you set in step one of setupOption | Usage | Description |
---|---|---|
-t or —timestamp | … -t … | Add a timestamp (in seconds since epoch) in a comment to the generated HTML |
-m or -metadata | … -m … | Generate a metadata file in the target directory that specifies the time at generation, operating system, and version of Sedum |
Usage | Description |
---|---|
\|LIST\| | Insert a HTML list of files with list enabled |
\|TIMESTAMP\| | Insert the number of seconds since the epoch |
\|COPYRIGHT\| | Insert a copyright notice for the author of the page or the default author in settings . |
The settings file is placed in the source directory, and uses YAML.
|Usage|Description|
|:----|:----|
|default_author
|The default author to be used if not set in the page options|