Split our single template into a set of nested templates so we can transition between routes