Programmatic redirects with Gatsby