fix post.permalink -> post.url