docs: update code example for custom TemplateSystem plugins
Merge pull request #1438 from FelixSchwarz/docs-template-system-fix

docs: update code example for custom TemplateSystem plugins