Fixing layouts to work for posts and updating config