<s> def fill ( author_url = None , author_name = None , author_image = None , pub_date = None , <EOL> title = None , content = None , permalink = None ) : <EOL> html = """<STR_LIT>""" <EOL> if author_name or author_image or author_url : <EOL> html += """<STR_LIT>""" <EOL> if author_url : <EOL> html += """<STR_LIT>""" . format ( author_url ) <EOL> if author_image : <EOL> html += """<STR_LIT>""" . format ( author_image ) <EOL> if author_name : <EOL> html += """<STR_LIT>""" . format ( author_name ) <EOL> if author_url : <EOL> html += "<STR_LIT>" <EOL> html += "<STR_LIT>" <EOL> if title : <EOL> html += """<STR_LIT>""" . format ( title ) <EOL> if pub_date : <EOL> html += """<STR_LIT>""" . format ( pub_date ) <EOL> if content : <EOL> html += """<STR_LIT>""" . format ( "<STR_LIT>" if title else "<STR_LIT>" , content ) <EOL> if permalink : <EOL> html += """<STR_LIT>""" . format ( permalink ) <EOL> html += "<STR_LIT>" <EOL> return html </s>
