pyramid template rendering