pencil

Static site generator https://github.com/elben/pencil

Latest on Hackage:0.1.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Elben Shira
Maintained by elbenshira@gmail.com

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

Changes

CHANGELOG

All notable changes to this project will be documented in this file.

Unreleased

0.1.2

Added

  • Escape template directives using $${example}. This will be rendered literally as ${example}.

0.1.1

Added

  • Blog example.
  • Minor method changes.

Changed

  • Bounds changed for ghc 8.0.2 and 8.2.2 support.
  • Improved documentation.

0.1.0

Added

  • First release.

0.0.0

Added

Changed

Fixed

Removed

Deprecated

Security

The format is based on Keep a Changelog.

comments powered byDisqus