docs: update code example for custom TemplateSystem plugins