if ((link.length==0)&&(fullPageName.indexOf("/guide/")!=-1)){
if ((link.length==0)&&((fullPageName.indexOf("/guide/")!=-1)||(fullPageName.indexOf("/resources/")!=-1))){
// if there's no match, then let's backstep through the directory until we find an index.html page that matches our ancestor directories (only for dev guide)