after-fn for render-template is the same signature as for ordinary renderer funciton. So we can pipe them?