Injects subdomain param when rendering templates