move 'posts' to 'post'; fixes permalink generation