generating html output with lectures and resources list