2 releases

0.1.1 Mar 25, 2022
0.1.0 Mar 24, 2022

#33 in #tera

MIT/Apache

22KB
533 lines

c@lder Static Site Generator

Use markdown in combination with Tera to generate static sites. Uses Rocket to host files after building.

USAGE:
    cargo run -- [OPTIONS] <path>

ARGS:
    <path>    path to generate site from

OPTIONS:
    -b, --build                 flag to generate site
    -h, --help                  Print help information
    -m, --minify                flag to minify the sites html, css, and js code
    -o, --output [<path>...]    path to put generated files in (default "output/")
    -r, --host                  flag to host via a webserver when done
    -V, --version               Print version information

Makrdown files support a yaml header

---
title: asdf
date: 24-03-2022
desc: asdf things
template: _templates/post
tags: [asdf, things, stuff]
---

Files and folders prefixed with an underscore (ex: _templates) will not be rendered or copied over after building

Dependencies

~25–57MB
~1M SLoC