document templating with an example
Merge pull request #69 from clofresh/template-docs

templating documentation