fixed Post.php method, set postpage layout