Fixed the CMS integration

Changing the path in build.js solved the file origin error

By changing the postsDir value to the right folder I have solved the CMS link that prevented me from writing blogs through my CMS portal

This post has been eddited