I set up a simple web site using the CherryPy framework (version 3.2). It was just serving simple text. Then I modified it a bit to serve a simple "Hello World" Jinga template. Then I decided it was time to render some simple text as page content and load that into the Jinja template.
I wanted to have the template loaded in one place rather than in every single PageHandler (which is the class that generates the page data), and the best way to do that Read in full