.. Tpll documentation master file, created by sphinx-quickstart on Sun Nov 29 12:46:11 2015. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to Tpll's documentation! ================================ **Tpll** is a Template Engine for Haskell that's highly inspired in the `Django Template Language `_. This is what it looks like: .. code-block:: html

Hello World!

With the following context: .. code-block:: haskell import Tpll.Context (ctx, cList, cStr, cInt) import Tpll.Tags.Default (getAllDefaultTags) let ctx' = ctx [("list", cList [cStr "foo", cStr "bar", cInt 42])] renderFile "test.html" ctx' getAllDefaultTags Will output: .. code-block:: html

Hello world!

**Table of Contents:** .. toctree:: :maxdepth: 2 intro defaults extending Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search`