posts layout & index.php fix