Add conditional tags for edit post link