refactoring loading/extracting of partials to make sure front-matter is removed