rewrite _posts file