Go template programming (Partials: pipe, use as functions, recursive)

I’ve used debugprint.html myself - very handy. :slight_smile:

I’m using a partial as a function here:

Which calls (not the most elegant) a template which chains several replaceRE calls to strip script tags from content that may be problematic in an Atom or RSS feed: