generating new templates based on hard-coded books html