created external layout template
added a main template and an items template
items template