Merge content into local variables.
Fix `template_path` for Windows users.
Update documentation of rendering templates.