Redirect now works with a non-default layoutTemplate