modified index to use relative-to-page links
modified links to use relative-to-page path