fixed invalid post links on index pages