Added edit_post_link to pages too. Updated the link text for both posts and pages