<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_pages(self):
 		""" 		Generate HTML out of the pages added to the blog. 		"""

		for page in self.pages:
			self.generate_page(page.slug, template='page.html.jinja', page=page)