Integrated getting data in template instead then in block