onepage 0.1.0

A simple static site generator
Documentation

ONEPAGE

Overview

A simple static site genertor, convert md posts to html.

Online demo

My blog

Usage

clone this repo, and: cargo run -- build to build pages cargo run -- serve to build pages

Structure

  • /pages: markdown source file
    • index.md => index page
    • /posts/*.md => post page
    • /assets img/css ...
    • /favicon favicon files
  • /dist: static stie pages
  • /src: rust src

Todo

  • site initialize to new path
  • site config file
  • css style
  • add command line
  • serve /dist
  • watch /pages and rebuild

reference