fixed links generated by DirectoryPageGenerator