renders templates based on assets