Linking new templates to foundation pages