def initialize(self):
<EOL>try:<EOL><INDENT>conf = config.parse()<EOL><DEDENT>except ConfigSyntaxError as e:<EOL><INDENT>logger.error(e.__doc__)<EOL>sys.exit(e.exit_code)<EOL><DEDENT>update_nested_dict(self.config, conf)<EOL>self.blog.__dict__.update(self.config['<STR_LIT>'])<EOL>self.author.__dict__.update(self.config['<STR_LIT>'])<EOL>self.root = self.config['<STR_LIT:root>']<EOL>templates = join(self.blog.theme, '<STR_LIT>')  <EOL>jinja2_global_data = {<EOL>'<STR_LIT>': self.blog,<EOL>'<STR_LIT>': self.author,<EOL>'<STR_LIT>': self.config,<EOL>'<STR_LIT:root>': self.root<EOL>}<EOL>renderer.initialize(templates, jinja2_global_data)<EOL>logger.success('<STR_LIT>')<EOL>
Initialize configuration and renderer environment