Enigmage/ssg-hs

Static blog generator

★ 0Forks 0HaskellGitHub ↗Compare

README

Static site generator

Install

  • Clone and navigate to repo, then run:
$ stack install .

Usage

  • Single file
$ ssghs convert -i example.md -o example.html
  • Directory
$ ssghs conver-dir -i example/ -o dist/

Will convert each file in the example markdown directory to HTML and will also add an index.html file.

Without Installing(using stack)

$ stack exec ssghs -- convert-dir -i example -o dist