Fixed post.php and added the links to index.php