public string FileExportPath() { if (Parent == null) { return("index.htm"); } if (Children.Any()) { return(Url.AppendUrl("index.htm")); } return(Parent.Url.AppendUrl(KeyWithinParent + ".htm").TrimStart('/')); }
public string WebsiteExportPath() { return(Url.AppendUrl("index.html").TrimStart('/')); }