added pagination on layouts/posts, link on author name