fixing paths on page.html and test .html file with permalink