def generate_index(self, num_posts=5):
		"""
		Generate the front page, aka index.html.
		"""
		posts = self.get_posts(num=num_posts)
		self.generate_page('index', template='index.html.jinja', posts=posts)
def generate_index ( self , num_posts = 5 ) : posts = self . get_posts ( num = num_posts ) self . generate_page ( 'index' , template = 'index.html.jinja' , posts = posts )
Generate the front page, aka index.html.