#NEWLINE# def _generate_header( self ) : #NEWLINE# #INDENT# CSS_INCLUDES = [ 'web_resources/style.css' ] #NEWLINE# CSS_INCLUDES [ : ] = [ os . path . join ( constants . PROJECT_ROOT_DIR , css_include ) for css_include in CSS_INCLUDES ] #NEWLINE# JS_INCLUDES = [ 'web_resources/script.js' ] #NEWLINE# JS_INCLUDES [ : ] = [ os . path . join ( constants . PROJECT_ROOT_DIR , js_include ) for js_include in JS_INCLUDES ] #NEWLINE# header_template = self . env . get_template ( 'header.html' ) #NEWLINE# header_html = header_template . render ( page_title = self . name , css_includes = CSS_INCLUDES , js_includes = JS_INCLUDES ) #NEWLINE# return header_html