now using jade template to package chapter contents