Is it possible to get the rendered body content from within a Mako template? What I mean is that I can display the body using ${self.body()}, but what if I want to do something to it first?
Is it possible to get the rendered body content from within a Mako template?
Share
Apparently what I was looking for is the
capturefunction. From the docs:Or in my case: