Skip to content

jamolnng/calder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: 2022-03-24
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