add docs for custom templates