{{- define "renderRedirect" -}} Redirecting to {{.To}} {{.To}} {{- if .WithAnalytics -}} {{- template "layout/analytics" }} {{- end -}} {{- end -}}