support update post though (POST /api/post/[id]/update)
correct behavior of updating article of non-existed id
supporting rendering post list (/posts/[base post]) and single post (/post/[id])