def __create_template_vars(self, section, page):
        """This method will create the dictionnary to be passed
        in the template in order to generate each page"""
        
        template_vars = {}
        template_vars["index"] = False
        
        template_vars["name"] = self.name
        template_vars["title"] = self.title
        template_vars["main_display"] = self.display
        template_vars["display_message"] = self.display_message
        
        template_vars["home_page_name"] = self.HomeName
        template_vars["current_section"] = section
        
        template_vars["index_address"] = "../../index.html"
        template_vars["address_prefix"] = ".."
        template_vars["nav_bar_right_side"] = self.nav_bar_right_side
        # Get the number of rows and how elements are organised
        template_vars["layout"] = self.__get_layout_of_the_current_page(section, page)
        template_vars["headings"] = self.__get_headings_of_the_current_page(section, page)
        
        # Plots, comments and table :
        template_vars["plots"] = self.__get_plots_of_the_current_page(section, page)
        template_vars["comments_below"] = self.__get_below_comment_of_the_current_page(section, page)
        template_vars["comments_above"] = self.__get_above_comment_of_the_current_page(section, page)
        template_vars["tables"] = self.__get_table_of_the_current_page(section, page)

        # Sections
        template_vars["sections"], template_vars["pages"], template_vars["pages_len"] = self.__create_lists_for_nav_bar()

        # footer
        template_vars["footer"] = self.footer

        #Css and JS
        template_vars["bootstrap_min_css"] = "../static/css/bootstrap.min.css"
        template_vars["jumbotron_css"] = "../static/css/jumbotron.css"
        template_vars["bootstrap_js"] = "../static/js/bootstrap.min.js"
        
        return template_vars