Add folders data and partials to templates