Golang: custom template function "capture" -
How to do this? You will do this in the application: Use the template for the HTML snippet that you want to capture, Render it, save it in a string, and use it in subsequent templates rendering.
I want to type a template function such as smerty
capture . How can I capture HTML
{{capture}} ... ... {{/ capture}}
Comments
Post a Comment