onepage 0.1.1

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
    • /image images used in markdown file
  • /dist: generated site
  • /static: static resources
    • /assets: img/css/font
    • /favicon favicon files
  • /src: rust src

Todo

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

reference