now posts collection is wired to template