add dynamic page template rendering feature