reads content from partials dir