def make_resource_document(self, title, content, tags=[],):
        """Return a single HTML document containing the title and content."""

        assert "<html>" not in content
        assert "<body>" not in content

        return """
        <html>
        <head><title>%(title)s</title></head>
        <body>
        %(content)s
        </body>
        """ % dict(
            title=title,
            content=content,
        )
def make_resource_document ( self , title , content , tags = [ ] , ) : assert "<html>" not in content assert "<body>" not in content return """
        <html>
        <head><title>%(title)s</title></head>
        <body>
        %(content)s
        </body>
        """ % dict ( title = title , content = content , )
Return a single HTML document containing the title and content.