#NEWLINE# def kid( dirname , verbose = False ) : #NEWLINE# #INDENT# import kid #NEWLINE# kid . path = kid . TemplatePath ( [ dirname ] ) #NEWLINE# template = kid . Template ( file = 'template.kid' ) #NEWLINE# def render( ) : #NEWLINE# #INDENT# template = kid . Template ( file = 'template.kid' , title = TITLE , user = USER , items = ITEMS ) #NEWLINE# return template . serialize ( output = 'xhtml' ) #NEWLINE# #UNINDENT# if verbose : #NEWLINE# #INDENT# print ( render ( ) ) #NEWLINE# #UNINDENT# return render