@hackage pencil0.1.2

Static site generator

Build Status

Pencil

Pencil is a static site generator. Use it to generate your personal website! Pencil comes pre-loaded with goodies such as blogging, tagging, templating, and Markdown Sass/Scss support. Flexible enough to extend for your own needs.

The easiest way to get started is to read the tutorials at elbenshira.com/pencil and reference the Haddock docs.

The blue-backed notebooks, the two pencils and the pencil sharpener... the marble topped tables, the smell of early morning... and luck were all you needed. — Ernest Hemingway, A Moveable Feast

Examples

Checkout the examples provided. To run the Simple example:

stack build
stack exec pencil-example-simple

Open the examples/Simple/out/ folder to see the rendered web pages. To serve the web pages (so that relative URLs work), using python's built in web server is easiest:

cd examples/Simple/out/
python -m SimpleHTTPServer 8000

And go to localhost:8000.

Development

See DEVELOPMENT.md