[template] restructured template resources