A simple static site genertor, convert md posts to html.
clone this repo, and:
cargo run -- build
to build pages
cargo run -- serve
to build pages, and make a server at localhost
cargo install onepage
onepage init [dir]
: download template files from github
onepage serve
onepage build
/pages
: markdown source file
index.md
=> index page/posts/*.md
=> post page/image
images used in markdown file/dist
: generated site/static
: static resources
/assets
: img/css/font/favicon
favicon files/templates
: html templates/src
: rust src