def get_meta_author(self): meta_tag = u"" if self.meta_author: meta_tag = u"""<meta name="author" content="%s" />\n""" % escape(self.meta_author) return mark_safe(meta_tag)