Add getSite function and update Post
Add site to config