Fix example using Handlebars for templating function

Handlebars requires a string and not a function. As such, the example
provided will error as @template does not return a string.

- Update example to call templating function first