'Create a dictionary with all metadata for the nav.xhtml file
properly escaped.'

def navigation_doc_metadata(self, navlist):

    metadata = {}
    metadata['lang'] = self.esc(self.config.epub_language)
    metadata['toc_locale'] = self.esc(self.guide_titles['toc'])
    metadata['navlist'] = navlist
    return metadata
