basic server-side html template rendering