Instead of injecting content via ['pagetext_html'], add it to the template as a custom variable. Fixes #2